Daniel Cousens
|
87269fe73e
|
tests: move transactionVersion into toBuffer
|
8 years ago |
Daniel Cousens
|
dfcb04c9b4
|
tests: add coinbase flag to each transaction fixture
|
8 years ago |
Daniel Cousens
|
bc4297ce3c
|
tests: add assertion for witness default to EMPTY_WITNESS
|
8 years ago |
Thomas Kerin
|
035ec47868
|
Better test vectors for witness serialization (available on testnet)
|
8 years ago |
Daniel Cousens
|
b60882a85e
|
tests: fromBuffer/toBuffer, import export each set of fixtures
|
8 years ago |
Daniel Cousens
|
5c2fdb6043
|
Transaction: add Witness serialization and hashForWitnessV0
|
9 years ago |
Daniel Cousens
|
11079bfafb
|
tests: use hardcoded fixture instead of relying on fixture[0]
|
8 years ago |
Thomas Kerin
|
7b1167708a
|
Transaction and block versions are signed integers
|
8 years ago |
Daniel Cousens
|
fa54ba4f82
|
tests/transaction: add test for target Buffer
|
9 years ago |
Daniel Cousens
|
4898cc7b67
|
tests: add tests for Transaction.hashForSignature
|
9 years ago |
Daniel Cousens
|
ea2a7449ad
|
tests: add isCoinbase tests and flags to fixtures
|
9 years ago |
Daniel Cousens
|
2d75b7e7ff
|
standard: remove padded Blocks
|
9 years ago |
Daniel Cousens
|
6ec687deba
|
rename scripts to script
|
10 years ago |
Daniel Cousens
|
e2abe2b3af
|
merge Script/scripts
|
10 years ago |
Daniel Cousens
|
151386c46d
|
scripts: remove coercion, fromASM returns Buffer
|
10 years ago |
Daniel Cousens
|
e05f8a542d
|
remove Script object
|
10 years ago |
Daniel Cousens
|
e743c58ed6
|
remove usage of instanced Scripts
|
10 years ago |
Daniel Cousens
|
ec9cea0cf1
|
tests: use strictEqual always
|
10 years ago |
Daniel Cousens
|
2f100e0eae
|
tests: add failing pushDataInt fixtures
|
10 years ago |
Daniel Cousens
|
7f3b4c93ba
|
TxBuilder: move param coercion from Transaction to TxBuilder
|
10 years ago |
Daniel Cousens
|
8d3686d046
|
remove deprecated functionality
|
10 years ago |
Daniel Cousens
|
399803affa
|
use standardjs formatting
|
10 years ago |
Daniel Cousens
|
445eb260c0
|
tests: add failing Coinbase transaction fixture
|
10 years ago |
Daniel Cousens
|
db17e35013
|
tests: transaction.add* better tested by raw functions
|
10 years ago |
Daniel Cousens
|
7a515a14ee
|
tests: use beforeEach for initialization
|
10 years ago |
Bez Reyhan
|
1c6d5a28a9
|
update fixtures and tests for merge
|
10 years ago |
Daniel Cousens
|
fc690d418b
|
tests: rename txid to id in Transaction context
|
10 years ago |
Daniel Cousens
|
ca4e64d071
|
tests: use ASM for fixtures, avoid JSON comparison
|
10 years ago |
Daniel Cousens
|
929d926774
|
tests: make use of the default behaviour
|
10 years ago |
Daniel Cousens
|
062540e3d9
|
Transaction: optional script for addInput
|
10 years ago |
Daniel Cousens
|
884fd542fe
|
Transaction: deprecate Tx signing methods
|
11 years ago |
Daniel Cousens
|
8eaf44881a
|
Transaction: improve hash length checking + tests
|
11 years ago |
Daniel Cousens
|
d07cfccbc1
|
Transaction: move constants to Transaction
|
11 years ago |
Daniel Cousens
|
4850570955
|
Transaction: remove untestable assert
Also changes the fromBuffer sanity test to use a clearer message that is
taken from the fixtures.
|
11 years ago |
Daniel Cousens
|
1b1b550bd6
|
Transaction: add hash as addInput parameter
|
11 years ago |
Daniel Cousens
|
0b17c2bc3d
|
Transaction: re-adds getHash as a pure hash
|
11 years ago |
Daniel Cousens
|
6c9f95c253
|
Transaction: add sequence parameter to addInput
|
11 years ago |
Daniel Cousens
|
6ea89eeaae
|
Transaction: data driven tests
|
11 years ago |
Daniel Cousens
|
c0e5393595
|
Transaction: remove .outpoint object
|
11 years ago |
Daniel Cousens
|
203d6c7116
|
Transaction: add test for clone
|
11 years ago |
Daniel Cousens
|
d567463588
|
Transaction: remove estimateFee
This is a wallet abstraction.
|
11 years ago |
Daniel Cousens
|
009fcb9b82
|
Transaction: now returns index of added input/output
|
11 years ago |
Daniel Cousens
|
4f995fcae1
|
Transaction: tests should show unboxing of parameters
|
11 years ago |
Daniel Cousens
|
3b3d19974c
|
tests: avoid b2h where toHex exists
|
11 years ago |
Daniel Cousens
|
66636f56bb
|
Transaction: test hex formatting
|
11 years ago |
Daniel Cousens
|
6ac3803483
|
Transaction: move test to proper section
|
11 years ago |
Daniel Cousens
|
3b6f0bb9b3
|
Transaction: fix test name
|
11 years ago |
Daniel Cousens
|
f85792ba22
|
Transaction: remove address from txOut
|
11 years ago |
Daniel Cousens
|
5551c38812
|
Transaction: use hash Buffer instead of hex string
|
11 years ago |
Daniel Cousens
|
bdc7131d0e
|
Transaction: renames getHash to getId
In turn also removes the inherent calculation of tx.hash after deserialization.
|
11 years ago |