neo-go/config
Roman Khimov eb11e5fb11 core: implement basic policying support, fix #370
Implement mempool and consensus block creation policies, almost the same as
SimplePolicy plugin for C# node provides with two caveats:
 * HighPriorityTxType is not configured and hardcoded to ClaimType
 * BlockedAccounts are not supported

Other than that it allows us to run successfuly as testnet CN, previously our
proposals were rejected because we were proposing blocks with oversized
transactions (that are rejected by PoolTx() now).

Mainnet and testnet configuration files are updated accordingly, but privnet
is left as is with no limits.

Configuration is currently attached to the Blockchain and so is the code that
does policying, it may be moved somewhere in the future, but it works for
now.
2020-02-19 12:19:02 +03:00
..
config.go core: implement basic policying support, fix #370 2020-02-19 12:19:02 +03:00
protocol.mainnet.yml core: implement basic policying support, fix #370 2020-02-19 12:19:02 +03:00
protocol.privnet.docker.four.yml config: add MemPoolSize configuration parameter 2020-01-23 13:10:44 +03:00
protocol.privnet.docker.one.yml config: add MemPoolSize configuration parameter 2020-01-23 13:10:44 +03:00
protocol.privnet.docker.single.yml config: add MemPoolSize configuration parameter 2020-01-23 13:10:44 +03:00
protocol.privnet.docker.three.yml config: add MemPoolSize configuration parameter 2020-01-23 13:10:44 +03:00
protocol.privnet.docker.two.yml config: add MemPoolSize configuration parameter 2020-01-23 13:10:44 +03:00
protocol.privnet.yml config: add MemPoolSize configuration parameter 2020-01-23 13:10:44 +03:00
protocol.testnet.yml core: implement basic policying support, fix #370 2020-02-19 12:19:02 +03:00
protocol.unit_testnet.yml config: add MemPoolSize configuration parameter 2020-01-23 13:10:44 +03:00