neoneo-go/pkg
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
..
compiler Merge pull request #654 from nspcc-dev/feat/subslice 2020-02-16 23:49:53 +03:00
consensus core: implement basic policying support, fix #370 2020-02-19 12:19:02 +03:00
core core: implement basic policying support, fix #370 2020-02-19 12:19:02 +03:00
crypto keys: add Cmp method to PublicKey 2020-02-12 21:27:40 +03:00
encoding address: rename functions as per #579 comments 2019-12-25 17:34:18 +03:00
internal internal: moved testutil method to internal package 2019-12-11 13:14:43 +03:00
interop compiler,interop: make AppCall accept varargs 2020-02-10 10:51:29 +03:00
io io: remove ReadLE/BE and WriteLE/BE 2019-12-13 11:38:28 +03:00
network core: implement basic policying support, fix #370 2020-02-19 12:19:02 +03:00
rpc core: export UtilityTokenID and GoverningTokenID 2020-02-19 12:13:27 +03:00
smartcontract emit: use io.BinWriter instead of bytes.Buffer 2020-02-06 18:45:37 +03:00
util util: fix a bug with not copying slice of len=1 in ArrayReverse 2020-02-06 12:15:35 +03:00
vm compiler: rewrite jump targets properly 2020-02-12 10:58:53 +03:00
wallet wallet: implement GetChangeAddress() 2020-02-19 12:13:27 +03:00