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
stasatdaglabs
6dd3b815c1
[DEV-17] Move Bech32Prefix-related code from btcd/chaincfg/params.go to btcdutil ( #62 )
...
* [DEV-17] Moved Bech32 stuff from params.go to address.go.
* [DEV-17] Removed dagconfig dependency from address_test.go.
* [DEV-17] Removed dagconfig dependency from builder_test.go.
* [DEV-17] Removed dagconfig dependency from internal_test.go.
* [DEV-17] Removed dagconfig dependency from wif.go.
* [DEV-17] Removed dagconfig dependency from externdedkey.go.
* [DEV-17] Fixed compilation errors outside of hdkeychain.
* [DEV-17] Resolved circular dependencies.
* [DEV-17] Fixed failing tests.
* [DEV-17] Renamed DagXxx to Bech32PrefixDAGXxx
* [DEV-17] Fixed register_test.go.
* [DEV-17] Renamed HDKeyIDPairXxxNet to XxxNetHDKeyPair.
* [DEV-17] Renamed IsForNet to IsForPrefix.
2018-09-23 15:49:50 +03: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