Daniel Cousens
|
3ffac6cd39
|
add witnessPubKeyHash compressed policy
|
8 years ago |
Daniel Cousens
|
5057d8d1ba
|
tests/txb: add P2WSH(multisig), incomplete fixture
|
8 years ago |
Daniel Cousens
|
0157f18510
|
txbuilder: refactor branches for readability
|
8 years ago |
Daniel Cousens
|
b1272a1200
|
add Bech32 support to toOutputScript/fromOutputScript
|
8 years ago |
Daniel Cousens
|
d1052e4996
|
add from/toBech32
|
8 years ago |
Thomas Kerin
|
798ec3512c
|
set p2sh=true only if redeemScriptType is set
|
8 years ago |
Thomas Kerin
|
0b1c3bfbd9
|
Should be able to deal with incomplete P2SH/P2WSH inputs when allowIncomplete is set
|
8 years ago |
Alex Melville
|
eae2c57e73
|
remove errant argument to buildInput in __build
|
8 years ago |
Daniel Cousens
|
1d6b978aff
|
txb: do not classify blank input scripts as nonstandard
|
8 years ago |
Karel Bilek
|
c96bb93841
|
Add weight / vsize
Weight / virtual size according to BIP141
|
8 years ago |
Daniel Cousens
|
fe0ad81472
|
package: use safe-buffer
|
8 years ago |
Daniel Cousens
|
f1ab151c31
|
tests: use safe-buffers throughout
|
8 years ago |
Daniel Cousens
|
aeb0312d63
|
use safe-buffers throughout impl
|
8 years ago |
Daniel Cousens
|
78b2d34af6
|
networks: changed P2SH to 0x32
|
8 years ago |
Loshan T
|
2228d285a4
|
Update Litecoin P2SH
|
8 years ago |
Daniel Cousens
|
ab1fc4c9a4
|
reduce bufferutils usage
|
8 years ago |
Daniel Cousens
|
cdb518686f
|
txbuilder: remove unused y var
|
8 years ago |
Daniel Cousens
|
6c220c4b58
|
templates: add missing allowComplete pass through
|
8 years ago |
Daniel Cousens
|
91ff39d95a
|
ecpair/hdnode: fix network variable shadowing
|
8 years ago |
Daniel Cousens
|
f3d0dddc5a
|
block: add byteLength
|
8 years ago |
Daniel Cousens
|
b552c63fb0
|
nulldata: no blank lines at EOF
|
8 years ago |
Daniel Cousens
|
846da39346
|
script: adhere to latest standard precedence rules
|
8 years ago |
Daniel Cousens
|
1ce81a92cc
|
block: rm i temporary var
|
8 years ago |
Daniel Cousens
|
35bbe11055
|
block: change exponent offset to avoid subtraction
|
8 years ago |
Daniel Cousens
|
29316a2fbc
|
block: use writeUInt32BE for target calculation
|
8 years ago |
Thomas Kerin
|
4b4f32ffac
|
buildStack: allow empty stack if allowIncomplete is set
|
8 years ago |
Thomas Kerin
|
793939dc8c
|
scriptHash return true for chunks.length=1 so long as its witness
|
8 years ago |
Thomas Kerin
|
c2dfc03869
|
Add test vectors, and transaction_builder input stores signScript
|
8 years ago |
Thomas Kerin
|
e4db4a07b0
|
Make sure case with only one value in scriptSig as P2SH ONLY applies if the script is P2WPKH or P2WSH
|
8 years ago |
Thomas Kerin
|
fff9319fa4
|
scriptHash.input.check - should tolerate 1 field in scriptSig if it's P2WSH or P2WPKH
|
8 years ago |
Thomas Kerin
|
c5541c8f96
|
transaction_builder: expandInput - check p2sh early, can avoid redundant assignments
|
8 years ago |
Thomas Kerin
|
a32cc5b3be
|
remove debugging code
|
8 years ago |
Thomas Kerin
|
52745d1d0c
|
fromTransaction.build tests pass - look for segwit transaction vectors
|
8 years ago |
Thomas Kerin
|
f8a94f3496
|
messy commits, clean later, just one test left
|
8 years ago |
Thomas Kerin
|
a213435135
|
Commit work to date
|
8 years ago |
Thomas Kerin
|
b24dc44770
|
P2WSH working, now for tests
|
8 years ago |
Thomas Kerin
|
3ad31571b6
|
P2WSH initial commit, tests pass with new logic
|
8 years ago |
Thomas Kerin
|
b6ae10b2f1
|
buildStack, and make tests pass
|
8 years ago |
Daniel Cousens
|
a793166eb8
|
wip
|
8 years ago |
Daniel Cousens
|
80762543e7
|
templates: add encode/decode* stack functions
|
8 years ago |
Daniel Cousens
|
33c3ed4e03
|
templates: avoid hex conversions internally
|
8 years ago |
Thomas Kerin
|
9d9d101b5f
|
Script templates: add witness commitment template
|
8 years ago |
Daniel Cousens
|
3635a9f078
|
s/scriptPubKey/outputScript
|
8 years ago |
Daniel Cousens
|
14f9218389
|
package: bump bs58check, drop node 0.12
|
8 years ago |
Daniel Cousens
|
33c72e49c4
|
package/*: use bitcoin-ops, pushdata-bitcoin packages
|
8 years ago |
Daniel Cousens
|
a86e905611
|
script: add fromASM failing test case and fix
|
8 years ago |
Thomas Kerin
|
8552867695
|
bscript.compie - minimal encoding of -1 stack element
|
8 years ago |
Daniel Cousens
|
2bb021ab64
|
rm *PushOnly, add isPushOnly and toStack
|
8 years ago |
Daniel Cousens
|
d853806d0d
|
templates: fix bad comment
|
8 years ago |
Daniel Cousens
|
5824a84fd5
|
transaction_builder: keep a mapping from prevTxOut to vin
|
8 years ago |