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
Evgeny Khirin
499adbf046
DEV-222: Changed type of TxOut.Value and util.Amount to uin64 ( #108 )
...
* [DEV-222] Changed type of TxOut.Value and util.Amount to uin64
* [DEV-222] Replaced math.MaxUint64 with 0
* [DEV-222] Fixed comment to reflect uint64 instead of int64
* [DEV-222] Fixed overflow comment
2018-10-24 16:29: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
Stas Boutenko
a26fd21ae7
[DEV-32] Renamed chaincfg to dagconfig and chainhash to daghash.
2018-06-19 18:19:54 +03:00
Stas Boutenko
2901d302f3
Updated references.
2018-06-03 18:34:09 +03:00
Olaoluwa Osuntokun
b72e16f0d6
multi: correct all import paths
2018-05-23 16:46:15 -07:00
Daniel Krawisz
47113d428c
It is now possible to save and restore the state of the FeeEstimator
...
and the server searches the database for a previous state to load
when the program is turned on.
2018-05-23 16:46:15 -07:00
Daniel Krawisz
4fd446028f
Enable estimatefee rpc command.
2018-05-23 16:46:15 -07:00
Daniel Krawisz
e6d8b869aa
feeEstimator changed to FeeEstimator. A number of optimizations and improvements.
...
Rollback takes a block hash rather than a BlockStamp.
Increase rounds in TestEstimateFeeRollback to test dropping txs that have been in the mempool too long.
2018-05-23 16:46:15 -07:00
Daniel Krawisz
4042921791
feeEstimator class added with tests. The feeEstimator can keep track
...
of how long it takes for unconfirmed txs to be mined into blocks. It
can also roll itself back in the case of an orphan block.
2018-05-23 16:46:15 -07:00