diff options
author | victorsintnicolaas <vicsn@users.noreply.github.com> | 2018-06-14 21:11:49 +0200 |
---|---|---|
committer | victorsintnicolaas <vicsn@users.noreply.github.com> | 2018-06-29 10:06:11 +0200 |
commit | 34cb6b4b703f30be89388f4cdcc5d7b6780ee988 (patch) | |
tree | 32563cb9c0fad0a9597bd80b0e0392f708dc1da8 /src/p2p/net_node.inl | |
parent | db_lmdb: enable batch transactions by default (diff) | |
download | monero-34cb6b4b703f30be89388f4cdcc5d7b6780ee988.tar.xz |
add --regtest and --fixed-difficulty for regression testing
on_generateblocks RPC call combines functionality from the on_getblocktemplate and on_submitblock RPC calls to allow rapid block creation. Difficulty is set permanently to 1 for regtest.
Makes use of FAKECHAIN network type, but takes hard fork heights from mainchain
Default reserve_size in generate_blocks RPC call is now 1. If it is 0, the following error occurs 'Failed to calculate offset for'.
Queries hard fork heights info of other network types
Diffstat (limited to 'src/p2p/net_node.inl')
-rw-r--r-- | src/p2p/net_node.inl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl index 9b21705ec..de0aa169b 100644 --- a/src/p2p/net_node.inl +++ b/src/p2p/net_node.inl @@ -382,6 +382,9 @@ namespace nodetool full_addrs.insert("162.210.173.150:38080"); full_addrs.insert("162.210.173.151:38080"); } + else if (nettype == cryptonote::FAKECHAIN) + { + } else { full_addrs.insert("107.152.130.98:18080"); |