neoneo-go/pkg/rpc
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
..
client core: add nonce field to transaction 2020-04-14 16:19:41 +03:00
request rpc: allow to unmarshal integer params from string 2020-03-25 17:23:13 +03:00
response Merge pull request #789 from nspcc-dev/fix/tx_specific_data_marshalling 2020-03-30 16:10:25 +03:00
server core: add nonce field to transaction 2020-04-14 16:19:41 +03:00
rpc_config.go config: move config.go out of config/ 2020-03-31 17:55:59 +03:00