neoneo-go/pkg/rpc/client
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.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
doc.go rpc: implement missing RPC client methods 2020-03-12 15:56:59 +03:00
doc_test.go rpc: update client documentation 2020-03-03 18:59:21 +03:00
neoscan.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
nep5.go emit: implement AppCallWithOperationAndArgs 2020-03-27 11:05:36 +03:00
rpc.go core: add NewTransactionFromBytes method to Transaction 2020-04-13 12:04:43 +03:00
rpc_test.go core: add nonce field to transaction 2020-04-14 16:19:41 +03:00