Daniel Cousens
|
302bbe81ba
|
script_number: refactor to mimic bitcoin/bitcoin
|
9 years ago |
Daniel Cousens
|
945bdfa747
|
script_number: refactor
|
9 years ago |
Daniel Cousens
|
29a1a839ec
|
script: exposes scriptNumber through script.number
|
9 years ago |
Daniel Cousens
|
059f48b0c4
|
script_number: add impl/tests
|
9 years ago |
Daniel Cousens
|
e4ba88e54f
|
block: rename verifyPow to checkProofOfWork
|
9 years ago |
Daniel Cousens
|
92b446f6a5
|
block: variable extraction
|
9 years ago |
Daniel Cousens
|
bac700f52c
|
block: use buffer, faster, verified
|
9 years ago |
Daniel Cousens
|
86b51b2d62
|
add Block.calculateTarget, use Buffer comparison rather than bigi
|
9 years ago |
Daniel Cousens
|
26ccb43047
|
block: add Block.prototype.verifyPow
|
9 years ago |
Daniel Cousens
|
cab3022719
|
add OP_CHECKLOCKTIMEVERIFY and integration tests
|
9 years ago |
Daniel Cousens
|
540a6643ac
|
txbuilder: clarify SIGHASH invalidation logic in addInput/addOutput
|
9 years ago |
Daniel Cousens
|
881a23f9d5
|
txbuilder: rename tx.outs.length to nOutputs
|
9 years ago |
Daniel Cousens
|
693e39c061
|
script: use Buffer.isBuffer consistently
|
9 years ago |
Daniel Cousens
|
d48a7ab682
|
address: avoid unnecessary unchunking
|
9 years ago |
Daniel Cousens
|
f60cb2e491
|
scripts: ensure isPubKeyHashOutput/isScriptHashOutput adhere to BIP62
|
9 years ago |
Kirill Fomichev
|
5de6818fcb
|
Fix TransactionBuilder.addOutput
|
9 years ago |
Alex Seville
|
a1da3065c4
|
Remove `const` and replace with `var`
To keep the project consistenly ES5.
Source: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/const
|
9 years ago |
Daniel Cousens
|
173994c6e0
|
script: avoid slice if n !== pubKeys.length
|
9 years ago |
Daniel Cousens
|
0ca1e40a6d
|
script: refactor isMultisigOutput for clarity
|
9 years ago |
Daniel Cousens
|
5be9b04741
|
script: isolate initialization of REVERSE_OPS
|
9 years ago |
Daniel Cousens
|
74c2f1d957
|
script: n/m must be numbers, not data
|
9 years ago |
Kirill Fomichev
|
eae8bcf676
|
fix isMultisigOutput
|
9 years ago |
Daniel Cousens
|
0b4c67406f
|
use [].reverse over prototype
|
9 years ago |
Daniel Cousens
|
5c1c4589c0
|
remove use of buffer-reverse
|
9 years ago |
Daniel Cousens
|
731a31ecba
|
use buffer-reverse
|
9 years ago |
Daniel Cousens
|
28372f0cd7
|
use buffer-equals
|
9 years ago |
Daniel Cousens
|
daafb9794e
|
ECPair/HDNode: adds getNetwork
|
9 years ago |
Daniel Cousens
|
57d0ea84a2
|
HDNode: adds getPublicKeyBuffer
|
9 years ago |
Daniel Cousens
|
923266672b
|
HDNode: add sign/verify
|
9 years ago |
Daniel Cousens
|
888393fa8f
|
tests: add HDNode fromSeed throwing tests
|
9 years ago |
Daniel Cousens
|
05cfdf6a6a
|
docs: remove inline endian-ness notes, no endianness
|
9 years ago |
Daniel Cousens
|
322ade58e4
|
revert 4b825bf
|
9 years ago |
Daniel Cousens
|
a5196dedcb
|
ECPair: enforce <= 0, not just ===
|
9 years ago |
Daniel Cousens
|
a72e608898
|
ECPair: loop until within interval
|
9 years ago |
Daniel Cousens
|
1ea5252511
|
TxBuilder: only allow OP_0's when building
|
9 years ago |
Daniel Cousens
|
b252924517
|
types: remove ECCurve
|
9 years ago |
Daniel Cousens
|
e8cb7c16da
|
Transaction: coinBaseHash no longer relevant
|
9 years ago |
Daniel Cousens
|
4b825bf2a8
|
HDNode: stop exposing constants
|
10 years ago |
Daniel Cousens
|
ccfaaf0b6f
|
ecdsa: remove curve parameter
|
10 years ago |
Daniel Cousens
|
146bc8e11a
|
address: re-use fromBase58Check internally
|
10 years ago |
Daniel Cousens
|
48dc0a9054
|
script: no need to use readUInt8
|
10 years ago |
Daniel Cousens
|
2d75b7e7ff
|
standard: remove padded Blocks
|
9 years ago |
Daniel Cousens
|
e94ec00919
|
types: restore quacking behaviour
|
10 years ago |
Daniel Cousens
|
96c04d0787
|
ECPair: makeRandom, fix comparison
|
10 years ago |
Daniel Cousens
|
d46035a35f
|
ECPair: rm duplicate throw
|
10 years ago |
Daniel Cousens
|
b12f559b85
|
HDNode: consistent capitalization in comments
|
10 years ago |
Daniel Cousens
|
92937a8ded
|
script: rm unused ecurve
|
10 years ago |
Daniel Cousens
|
3106fc13ca
|
script: refactor isCanonicalPubKey to bitcoin-core equivalent
|
10 years ago |
Daniel Cousens
|
0ff5bd5698
|
script: add isDefinedHashType to check hashType
|
10 years ago |
Daniel Cousens
|
abac254d0d
|
script: use bip66 for signature checking
|
10 years ago |