## 0x Devnet A private, single-node PoA Ethereum network for testing purposes only. It uses Geth and the PoA implementation called "Clique". ## Installation The devnet requires Docker to run (the latest version is recommended). In the package root directory, run: ``` docker build -t 0x-devnet . ``` ## Usage To start the network, run: ``` docker run -it --rm -p 8501:8501 0x-devnet ``` Depending on your OS and how you installed docker, you may need to prefix any docker commands with `sudo`. The Docker container exposes the JSON RPC API at port 8501, and this is the primary way you are expected to interact with the devnet. The following endpoints are supported: `personal,db,eth,net,web3,txpool,miner,debug`. You can stop the network with `docker stop` and it will automatically clean up after itself. (`docker stop` typically requires you to use `docker ps` to find the name of the currently running container). ### Configuration The devnet network only has a single node and uses PoA instead of PoW. That means that one node, called the "sealer", is the ultimate authority for validating transactions and adding new blocks to the chain. Since there is no PoW it also means that mining does not require significant computational resources. You can learn more about PoA and the Geth-specific implementation called "Clique" in [EIP-225](https://github.com/ethereum/EIPs/issues/225). The address of the "sealer" is `0xe8816898d851d5b61b7f950627d04d794c07ca37`. The password associated with the account is "password" and the (encrypted) private keys are visible in the **node0/keystore** directory. This account is already "unlocked" in the Geth node by default, so you can do things like sign and send transactions from this account using the JSON RPC endpoints directly. There are also a number of other addresses that have hard-coded starting balances for testing purposes. You can see the details in the **genesis.json** file. All of these accounts are also unlocked by default. ### Additional JSON RPC Methods In addition to the [standard JSON RPC methods](https://github.com/ethereum/wiki/wiki/JSON-RPC) and the [Geth Management API](https://github.com/ethereum/go-ethereum/wiki/Management-APIs) The devnet node supports some additional JSON RPC methods: #### debug_increaseTime Increases the timestamp of the next mined block. ##### Parameters `Number` - The number of seconds by which to increase the time offset. ##### Returns `Number` - The total number of seconds by which the time offset has been increased (this includes all calls to `debug_increaseTime`). ##### Example ```js // Request curl -X POST --data '{"jsonrpc":"2.0","method":"debug_increaseTime","params":[100],"id":67}' // Result { "id":67, "jsonrpc": "2.0", "result": "5000" } ``` ### Mining The node will automatically (nearly instantly) mine a block whenever new transactions are added to the transaction pool. If there are no transactions in the pool, it will wait. To stop mining, use the [`miner.stop`](https://github.com/ethereum/go-ethereum/wiki/Management-APIs#miner_stop) method. To start mining again, you can use the [`miner.start`](https://github.com/ethereum/go-ethereum/wiki/Management-APIs#miner_start) JSON RPC method. ## Contributing We strongly recommend that the community help us make improvements and determine the future direction of the protocol. To report bugs within this package, please create an issue in this repository. Please read our [contribution guidelines](../../CONTRIBUTING.md) before getting started. n> FreeBSD Ports (https://github.com/freebsd/freebsd-ports)
aboutsummaryrefslogtreecommitdiffstats
path: root/astro
Commit message (Expand)AuthorAgeFilesLines
* - Update to r4214amdmi32018-08-032-4/+4
* - Update to 5.19.1danilo2018-08-025-7/+13
* Update astro/kstars to 2.9.7 .tcberner2018-08-013-7/+248
* Update to 0.114sunpoet2018-08-012-4/+4
* - Update to 14066amdmi32018-07-312-4/+4
* Bump PORTREVISION for ports depending on the canonical version of GCCgerald2018-07-309-6/+9
* Replace explicit devel/py-game dependencies with ${PYGAME} in 7 portsyuri2018-07-291-1/+1
* New port: astro/py-pysofa: Python binding for SOFA, the fundamental astronomy...yuri2018-07-264-0/+36
* New port: astro/sofa: Set of algorithms and procedures used in fundamental as...yuri2018-07-265-0/+69
* - Update to 2.14.2amdmi32018-07-263-8/+6
* Add jhixson to freebsd.commiters.markersjhixson2018-07-251-0/+1
* - Update to 0.100wen2018-07-243-6/+4
* - Update to 0.113wen2018-07-242-4/+4
* - Update to r4208amdmi32018-07-232-4/+4
* New port: astro/oskar: SKA Radio telescope simulatoryuri2018-07-239-0/+725
* astro/cfitsio: Add missing dependencyyuri2018-07-231-1/+3
* - Update to 14026amdmi32018-07-172-4/+4
* - Update to r4196amdmi32018-07-172-4/+4
* astro/qmapshack: remove obsolete patch filecmt2018-07-171-13/+0
* astro/qmapshack: update to 1.11.1cmt2018-07-173-5/+6
* - Update to 0.112wen2018-07-172-4/+4
* Remove expired ports:rene2018-07-175-43/+0
* astro/libnova: Add LICENSE/LICENSE_FILEyuri2018-07-141-0/+3
* Update KDE Applications to 18.04.3tcberner2018-07-143-7/+6
* - Update to 4.34wen2018-07-062-4/+4
* - Update `astro/stellarium' to version 0.18.1danfe2018-07-053-6/+34
* - Fix build with clang 6amdmi32018-07-041-0/+11
* - Update to 0.099wen2018-07-032-4/+4
* - Update to 13996amdmi32018-07-032-4/+4
* Replace bsd.qt.mk by Uses/qt.mk and Uses/qt-dist.mktcberner2018-06-2914-35/+40
* Revert r473259 and r473260 which are committed by accidentsunpoet2018-06-252-2/+2
* Unbreak INDEXantoine2018-06-251-1/+1
* Update to 3.6.0sunpoet2018-06-252-2/+2
* Add LICENSE_FILEsunpoet2018-06-252-12/+14
* Add py-spacetrack 0.13.1sunpoet2018-06-254-0/+46
* Update math/gsl to 2.5tcberner2018-06-231-0/+1
* Mark as broken on aarch64, and, where appropriate, armvX.linimon2018-06-222-2/+10
* multimedia/*phonon*: update and flavorize with @qt4/@qt5tcberner2018-06-224-2/+4
* Use PY_FLAVOR for dependencies.mat2018-06-216-21/+21
* Use the correct variable for dependency lines.mat2018-06-211-4/+4
* astro/xearth: update my locationgahr2018-06-191-1/+1
* astro/py-aipy: Add USE_PYTHON=concurrentyuri2018-06-191-2/+2
* - Update to 0.111wen2018-06-172-4/+4
* - Update to 0.098wen2018-06-172-4/+4
* Mark net/p5-ZConf and related ports as deprecatedtobik2018-06-151-0/+3
* Update KDE Applications to 18.04.2tcberner2018-06-102-6/+6
* astro/siril: Update 0.9.8 -> 0.9.9yuri2018-06-093-6/+7
* - Update to r4193amdmi32018-06-052-4/+4
* - Update to 13878amdmi32018-06-052-4/+4
* Update to 0.110sunpoet2018-06-052-4/+4
* Update to 0.097sunpoet2018-06-052-4/+4
* Update to 14Aug2014xride2018-06-035-32/+26
* Update astro/kstars to 2.9.6tcberner2018-06-013-4/+7
* Update WWWsunpoet2018-05-2824-24/+24
* - Update to 0.096wen2018-05-242-4/+4
* - Update to 0.109wen2018-05-242-4/+4
* Update to 0.8.0sunpoet2018-05-192-5/+6
* - Update to 19amdmi32018-05-182-4/+4
* - Update to 13710amdmi32018-05-142-4/+4
* - Update to r4188amdmi32018-05-142-4/+4
* Update KDE Applications to 18.04.1tcberner2018-05-115-7/+9
* Update to 0.095sunpoet2018-05-102-4/+4
* Update to 0.108sunpoet2018-05-102-4/+4
* Bump PORTREVISION on more opencv consumers due to opencv updateswills2018-05-101-1/+1
* Bump PORTREVISION on opencv consumers due to opencv updateswills2018-05-091-0/+1
* graphics/opencv: Update to 3.4.1swills2018-05-091-1/+1
* Update to upstream version 1.5.4; use QT5 instead of QT4riggs2018-05-0610-32/+184
* - Update to r4183amdmi32018-05-04