Ori Newman
1e447432a7
[NOD-28] Move subnetwork consts to subnetworkid package ( #197 )
...
* [NOD-28] Move SubnetworkID constants to subnetworkid package
* [NOD-28] change subnetwork id constants to pointers
2019-03-10 12:27:06 +02:00
Ori Newman
b963c0d364
Dev 334 make id merkle root and transaction id, fix tests, and add new tests ( #166 )
...
* [DEV-329] Add TxID
* [DEV-329] Change Transaction inputs to reference by tx id instead of tx hash
* [DEV-329] Fix tests
* [DEV-329] change txhash to txid in mempool
* [DEV-334] Make IDMerkleRoot
* [DEV-329] Add txid that excludes payload, gas and ScriptSigs (#158 )
* [DEV-329] Add TxID
* [DEV-329] Change Transaction inputs to reference by tx id instead of tx hash
* [DEV-329] Fix tests
* [DEV-329] change txhash to txid in mempool
* [DEV-329] replace thinEncoding bool with txEncoding bitmask
* [DEV-329] Change txencoding var names
* [DEV-329] change txEncodingexcludeSignatureScript -> txEncodingExcludeSignatureScript
* [DEV-334] Add IDMerkleRoot to blocknode and recalculate IDMerkleRoot when extraNonce is changed
* [DEV-334] Fix tests
* [DEV-334] Fix tests
* [DEV-334] fix SubnetworkDAGCoin -> SubnetworkIDNative
* [DEV-334] Add ID() function to Coin interface and rename hash to txID in a few places
* [DEV-334] Add Root method for merkle root
* [DEV-334] add comment to dag.SubnetworkID()
* [DEV-334] fix serializeSize comment
2019-01-23 14:04:23 +02:00
stasatdaglabs
f00651c4e3
[DEV-353] Rename subnetwork to subnetworkID everywhere in the code except for the command line flag ( #165 )
...
* [DEV-353] Renamed subnetwork -> subnetworkID.
* [DEV-353] Renamed dagcoin -> native.
2019-01-20 16:22:25 +02:00
Svarog
e3994cddac
[DEV-347] Normalize the way 'subnetwork' is capitalized ( #161 )
2019-01-13 18:00:34 +02:00
Ori Newman
4a6fd8fad1
[DEV-320] add decoupling related fields to wire tx ( #134 )
...
* [DEV-320] Add decoupling-related fields to wire.Tx
* [DEV-320] Fix SerializeSize for MsgTx
* [DEV-320] Fix indexers test
* [DEV-320] Fix utils test
* [DEV-320] Fix ffldb tests
* [DEV-320] Fix mining tests
* [DEV-320] fix txsort tests
* [DEV-320] change default subnetwork id to 1 and remove payload for default subnetwork id
* [DEV-320] Add msgtx serialization tests
* [DEV-320] get rid of temp prints, and change error messages
2018-12-27 17:43:25 +02:00
Ori Newman
05d46e7c01
[DEV-244] Remove BlockHeader.NumParentBlocks and use a method instead ( #121 )
2018-11-06 11:26:59 +02:00
Ori Newman
9519b9f2a1
[DEV-211] Change fields of serialized blocks and transactions to match spec ( #104 )
...
* [DEV-211] change block fields
* [DEV-211] change block fields
* [DEV-211] change comments to adhere to the new block field names
2018-11-05 13:11:42 +02:00
Svarog
7ed7685373
[DEV-27] Updated database package for DAG
...
* [DEV-27] Fixed dbtool to work with multiple previous blocks
* [DEV-27] Fix Example_blockStorageAndRetrieval expected bytes
* [DEV-27] Added generator for testdata, and generated new testdata to conform to DAG
* [DEV-27] Fixed FetchBlockHeader(s) and database interface test for DAG
2018-06-21 12:27:22 +03:00