Daniel Cousens
|
7227017b40
|
scripts: multisig naming consistency
|
8 years ago |
Daniel Cousens
|
433d9f1b18
|
templates: push only for scriptHash inputs, fixes #705
|
8 years ago |
Daniel Cousens
|
b1daff1108
|
script: use isPushOnly internally
|
8 years ago |
Daniel Cousens
|
8df1b45699
|
script: use typeforce to enforce push-only chunks
|
8 years ago |
Thomas Kerin
|
0696ca95b6
|
Script: add {compile,decompile}PushOnly
|
8 years ago |
Daniel Cousens
|
72fbd00762
|
Transaction: Witness serialization support default only for some functions (fixed)
|
8 years ago |
Daniel Cousens
|
29422b584d
|
Transaction: fix setWitness to accept array of Buffers (fixed)
|
8 years ago |
Thomas Kerin
|
a9f124423f
|
Test that parsing a transaction with superfluous witness data leads to an error
|
8 years ago |
Daniel Cousens
|
905f5ba1a5
|
transaction: hashForWitnessV0 s/amount/value
|
8 years ago |
Daniel Cousens
|
768f7e314c
|
Transaction: initialize to ZERO earlier
|
8 years ago |
Thomas Kerin
|
3f731d090a
|
Test that parsing a transaction with superfluous witness data leads to an error
|
8 years ago |
Daniel Cousens
|
5c2fdb6043
|
Transaction: add Witness serialization and hashForWitnessV0
|
9 years ago |
Daniel Cousens
|
aeeee4f3ec
|
TransactionBuilder: move ABSURD_FEE to a constructor parameter
|
8 years ago |
Daniel Cousens
|
61be897429
|
TransactionBuilder: move ABSURD_FEERATE to static constant
|
8 years ago |
Daniel Cousens
|
62389ed247
|
TransactionBuilder: change to ABSURD_FEERATE, not ABSURD_FEE
|
8 years ago |
Daniel Cousens
|
e835f1fe95
|
TransactionBuilder: add fee safety
|
8 years ago |
Thomas Kerin
|
b5e46c2931
|
Replace script type strings with constants
|
8 years ago |
Daniel Cousens
|
9db9763221
|
tests: add script.*.*.decode tests
|
8 years ago |
Daniel Cousens
|
0c67f5e585
|
templates: add toJSON for clearer error message
|
8 years ago |
Daniel Cousens
|
ce5babde83
|
templates: fix nullData return value
|
8 years ago |
Daniel Cousens
|
69d8e9ed9e
|
move templates to templates/index.js
|
8 years ago |
Daniel Cousens
|
d9fa39a2cc
|
scripts: extract all scripts to encode/decode/check style
|
8 years ago |
Thomas Kerin
|
27b48e8aa2
|
Add methods to decode information from output scripts
|
8 years ago |
Thomas Kerin
|
53f08a7569
|
Script: add function for parsing multisig type scripts
|
8 years ago |
Daniel Cousens
|
a956b8859f
|
networks: drop dogecoin and dustThreshold
|
8 years ago |
Daniel Cousens
|
1f66b9e3d8
|
HDNode: add comment about Q.compressed assumption
|
8 years ago |
Thomas Kerin
|
6067220cba
|
Remove redundant check for uncompressed public key
|
8 years ago |
Daniel Cousens
|
b14abac4a1
|
HDNode: remove HDNode.toString for safety
|
8 years ago |
Thomas Kerin
|
7b1167708a
|
Transaction and block versions are signed integers
|
8 years ago |
Daniel Cousens
|
3de754a9a2
|
TransactionBuilder: remove hashTypes inconsistency issues, resolves #642
|
8 years ago |
Daniel Cousens
|
9dcf4d4b8b
|
TransactionBuilder: add note why fixMultisigOrder is separate
|
8 years ago |
Daniel Cousens
|
7059b177eb
|
TransactionBuilder: re-order in order of usage
|
8 years ago |
Daniel Cousens
|
6056e7913e
|
TransactionBuilder: fixMultisigOrder only works if a redeemScript exists
|
8 years ago |
Daniel Cousens
|
1ff64d207e
|
TransactionBuilder: flatten prepareInput P2SH detection
|
8 years ago |
Daniel Cousens
|
a58c959099
|
TransactionBuilder: localize fixMultisigOrder assumptions
|
8 years ago |
Daniel Cousens
|
0e2480523a
|
TransactionBuilder: expandInput, consistent variable names
|
8 years ago |
Daniel Cousens
|
f3cc71a75f
|
TransactionBuilder: simplify buildInput logic
|
8 years ago |
Daniel Cousens
|
090b8177d1
|
TransactionBuilder: flatten inconsistency checks
|
8 years ago |
Daniel Cousens
|
5dcf38c0c5
|
HDNode: clearer error for bad path type
|
8 years ago |
Daniel Cousens
|
9f1ebf72a6
|
types: remove unused UInt2, BIP32 is capitals
|
8 years ago |
Daniel Cousens
|
4ee298c414
|
block: add type checking
|
8 years ago |
Daniel Cousens
|
dd4596a44a
|
block: use merkle-lib instead of inline calculation
|
8 years ago |
Daniel Cousens
|
3bff2c63af
|
transaction: simplify toBuffer offset management
|
8 years ago |
Daniel Cousens
|
f7b2fdfe60
|
TransactionBuilder: avoid input mutation until after exception possibility
|
8 years ago |
Daniel Cousens
|
17377381c4
|
TransactionBuilder: if prevOutScript is defined, but not signable, try 1 last time
|
8 years ago |
Daniel Cousens
|
45b0e35264
|
transaction/types: use Satoshi over UInt53
|
8 years ago |
Daniel Cousens
|
ecc6d45a7e
|
types: add Satoshi
|
8 years ago |
Daniel Cousens
|
29a865788d
|
use varuint-bitcoin
|
8 years ago |
Daniel Cousens
|
7cdabef954
|
ecdsa: remove unused functions
|
9 years ago |
Daniel Cousens
|
87cb018466
|
rm message module
|
9 years ago |