Evgeny Khirin
7c30bc4301
[NOD-64] Remove subnetwork id supports all ( #237 )
...
* [NOD-64] Intermediate commit: need check tests on master
* [NOD-64] Commit before changing subnetwork IDS to new values
* [NOD-64] Fixed tests after changing subnetworks IDs constants
* [NOD-64] Extract duplicate code into functions
* [NOD-64] Renamed IsAllSubnetworks ==> IncludeAllSubnetworks
2019-04-03 17:03:48 +03:00
Evgeny Khirin
100fbbaaa4
[DEV-361] Create type TxID as alias to daghash.Hash. ( #175 )
...
* [DEV-361] Create type TxID as alias to daghash.Hash. Use it for transaction IDs
* [DEV-361] Fixed missed renames
* [DEV-361] Removed usage of zeroHash
* [DEV-361] Fixed more missed renames
2019-01-27 14:27:10 +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
Ori Newman
0553f7e2e7
[DEV-342] change subnetworkid to hash160 ( #154 )
...
* [DEV-342] Make subnetworkid Hash160
* [DEV-342] Fix tests
* [DEV-342] Fix rpcserver.go mismatched types
* [DEV-342] Change subnetworkhash type and package to subnetworkid
* [DEV-342] Add subnetworkid package
2019-01-09 17:55:25 +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
stasatdaglabs
c65d9aa168
[DEV-97] Combine btcd and btcutil repositories ( #51 )
...
* [DEV-97] Moved github.com/daglabs/btcutil into github.com/daglabs/btcd/btcutil.
* [DEV-97] Updated Gopkg.toml to no longer refer to btcutil.
* [DEV-97] Renamed btcutil to util.
2018-08-23 16:54:16 +03:00