This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // SPDX-License-Identifier: CC0 | |
| pragma solidity ^0.8.0; | |
| // author @koeppelmann | |
| // Detector Factory allows to deploy new CensorshipDetector | |
| // Each CensorshipDetector monitors wether a specific address is being cencored on Ethereum | |
| // Each CensorshipDetector must be funded with ETH (anyone can send ETH to the CensorshipDetector) | |
| // Once funded anyone can call the "withdrawal" in the "CensorshipDetector" every 1h and it will pay a small bounty to tx.origin (100k * basefee) | |
| // During this transaction the "CensorshipDetector" will send 1 wei to the address that is endangered of being cencored. | |
| // CensorshipDetector will log the coinbase (validator address) (those are NOT censoring) and the number of blocks that has passed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| - name: install PostgreSQL | |
| apt: pkg={{ item }} update_cache=yes state=present | |
| sudo: yes | |
| tags: postgres | |
| with_items: | |
| - postgresql-{{ postgresql_version }} | |
| - postgresql-client-{{ postgresql_version }} | |
| - postgresql-contrib-{{ postgresql_version }} | |
| - libpq-dev |