Micah Riggan
|
1186be59dc
|
Removing deprecated new Buffer()
|
7 years ago |
Filippo Merli
|
528f07f1b8
|
fixed filteredTxsHash If there is only one hash the filter do not match any txs in the block and should return a void aray
|
9 years ago |
Filippo Merli
|
5d5f9bacae
|
add metod filterdTxsHash to MerkleBlock, that return all the txs hash in the block that match the filter (depth === 0 and flag bit is 1)
|
9 years ago |
Braydon Fuller
|
a50fccef4d
|
Changes behavior of `toJSON` to work as expected with `JSON.stringify`
- see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify#toJSON%28%29_behavior
- Updates CONTRIBUTING with changes to Stardard Methods
- Aliases toJSON for toObject
- Removes all `fromJSON` methods, and many cases replaces with `fromObject`
- Constructors expect an object parsed via `JSON.parse` for JSON input
|
10 years ago |
Manuel Araoz
|
100e370295
|
fix regressions after changes
|
10 years ago |
Braydon Fuller
|
fb01bc09e4
|
Added test to check that merkle nodes do not match, and misc jshint fixes.
|
10 years ago |
William Wolf
|
3eb95b6576
|
_traverseMerkleTree state cleanup + improve hasTransactions()
|
10 years ago |
William Wolf
|
bb0efd2108
|
Remove _validMerkleTree caching
|
10 years ago |
William Wolf
|
a478e39524
|
Review Fixes
|
10 years ago |
William Wolf
|
a67084d176
|
cleanup
|
10 years ago |
William Wolf
|
c558c4e34a
|
hasTransaction(tx) + tests
|
10 years ago |
William Wolf
|
611dae5b55
|
validMerkleTree() method plus more test blocks
|
10 years ago |
William Wolf
|
a32d8dbab8
|
Add block/index.js
|
10 years ago |
William Wolf
|
4b601c3711
|
Move block.js and blockheader.js into lib/block/
|
10 years ago |
William Wolf
|
32583fbbe3
|
Cleanup test
|
10 years ago |
William Wolf
|
29c18e22f0
|
Add lib/block/merkleblock.js
|
10 years ago |