neoneo-go/pkg
Anna Shaleva 65503aa9b4 core: add nonce field to transaction
1. Closes #840: added Nonce field to transaction.Transaction and
removed Nonce field from transaction.MinerTx

2. Added following methods to different tx types:
  - NewMinerTx()
  - NewMinerTxWithNonce(...)
  - NewEnrollmentTx(...)
  - NewIssueTx()
  - NewPublishTx(...)
  - NewRegisterTx(...)
  - NewStateTx(...)
in order to avoid code duplication when new transaction is created.

3. Commented out test cases where binary transaction/block are used.
These test cases marked with `TODO NEO3.0: Update binary` and need to be
updated.

4. Updated other tests

5. Added constant Nonce to GoveringTockenTx, UtilityTokenTx and genesis
block to avoid data variability. Also marked with TODO.
2020-04-14 16:19:41 +03:00
..
compiler cli: output contract after compiling only with --verbose flag 2020-04-08 13:09:51 +03:00
config config: move config.go out of config/ 2020-03-31 17:55:59 +03:00
consensus core: add nonce field to transaction 2020-04-14 16:19:41 +03:00
core core: add nonce field to transaction 2020-04-14 16:19:41 +03:00
crypto testserdes: implement helpers for encode/decode routines 2020-03-27 10:27:46 +03:00
encoding *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
internal random: make use or random package in tests 2020-03-27 10:27:46 +03:00
interop compiler/interop: add missing methods to interop.Iterator 2020-03-26 16:39:10 +03:00
io *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
network core: wrap cached dao properly, don't miss cached data 2020-04-03 10:15:11 +03:00
rpc core: add nonce field to transaction 2020-04-14 16:19:41 +03:00
smartcontract smartcontract: add Any type for parameter 2020-04-02 14:15:17 +03:00
util testserdes: implement helpers for encode/decode routines 2020-03-27 10:27:46 +03:00
vm Merge pull request #784 from nspcc-dev/neo3/null 2020-04-10 10:38:17 +03:00
wallet config: move config.go out of config/ 2020-03-31 17:55:59 +03:00