Daniel Cousens
|
74c2f1d957
|
script: n/m must be numbers, not data
|
2015-10-02 12:51:34 +10:00 |
|
Kirill Fomichev
|
eae8bcf676
|
fix isMultisigOutput
|
2015-10-01 23:12:38 +03:00 |
|
Daniel Cousens
|
0b4c67406f
|
use [].reverse over prototype
|
2015-09-27 23:49:29 +10:00 |
|
Daniel Cousens
|
5c1c4589c0
|
remove use of buffer-reverse
|
2015-09-27 23:30:06 +10:00 |
|
Daniel Cousens
|
731a31ecba
|
use buffer-reverse
|
2015-09-25 17:49:05 +10:00 |
|
Daniel Cousens
|
28372f0cd7
|
use buffer-equals
|
2015-09-25 17:49:05 +10:00 |
|
Daniel Cousens
|
daafb9794e
|
ECPair/HDNode: adds getNetwork
|
2015-09-21 17:37:21 +10:00 |
|
Daniel Cousens
|
57d0ea84a2
|
HDNode: adds getPublicKeyBuffer
|
2015-09-21 17:37:09 +10:00 |
|
Daniel Cousens
|
923266672b
|
HDNode: add sign/verify
|
2015-09-21 16:42:22 +10:00 |
|
Daniel Cousens
|
888393fa8f
|
tests: add HDNode fromSeed throwing tests
|
2015-09-14 17:50:38 +10:00 |
|
Daniel Cousens
|
05cfdf6a6a
|
docs: remove inline endian-ness notes, no endianness
|
2015-09-14 15:03:36 +10:00 |
|
Daniel Cousens
|
322ade58e4
|
revert 4b825bf
|
2015-09-09 12:32:12 +10:00 |
|
Daniel Cousens
|
a5196dedcb
|
ECPair: enforce <= 0, not just ===
|
2015-09-09 00:48:06 +10:00 |
|
Daniel Cousens
|
a72e608898
|
ECPair: loop until within interval
|
2015-09-09 00:48:06 +10:00 |
|
Daniel Cousens
|
1ea5252511
|
TxBuilder: only allow OP_0's when building
|
2015-09-08 21:22:54 +10:00 |
|
Daniel Cousens
|
b252924517
|
types: remove ECCurve
|
2015-09-05 15:42:25 +10:00 |
|
Daniel Cousens
|
e8cb7c16da
|
Transaction: coinBaseHash no longer relevant
|
2015-09-05 14:28:28 +10:00 |
|
Daniel Cousens
|
4b825bf2a8
|
HDNode: stop exposing constants
|
2015-09-05 14:27:53 +10:00 |
|
Daniel Cousens
|
ccfaaf0b6f
|
ecdsa: remove curve parameter
|
2015-09-05 14:27:53 +10:00 |
|
Daniel Cousens
|
146bc8e11a
|
address: re-use fromBase58Check internally
|
2015-09-05 14:27:53 +10:00 |
|
Daniel Cousens
|
48dc0a9054
|
script: no need to use readUInt8
|
2015-09-05 14:27:53 +10:00 |
|
Daniel Cousens
|
2d75b7e7ff
|
standard: remove padded Blocks
|
2015-09-05 14:10:32 +10:00 |
|
Daniel Cousens
|
ec1195bcee
|
Merge pull request #448 from bitcoinjs/bip66
Extract BIP66 module
|
2015-08-25 14:17:44 +10:00 |
|
Daniel Cousens
|
e94ec00919
|
types: restore quacking behaviour
|
2015-08-25 13:47:11 +10:00 |
|
Wei Lu
|
79db118417
|
Merge pull request #446 from bitcoinjs/wifex
ECPair: extract WIF to 3rd party module
|
2015-08-23 23:24:07 +08:00 |
|
Daniel Cousens
|
96c04d0787
|
ECPair: makeRandom, fix comparison
|
2015-08-24 01:04:36 +10:00 |
|
Daniel Cousens
|
d46035a35f
|
ECPair: rm duplicate throw
|
2015-08-24 01:00:51 +10:00 |
|
Daniel Cousens
|
b12f559b85
|
HDNode: consistent capitalization in comments
|
2015-08-22 12:53:47 +10:00 |
|
Daniel Cousens
|
92937a8ded
|
script: rm unused ecurve
|
2015-08-22 12:37:17 +10:00 |
|
Daniel Cousens
|
3106fc13ca
|
script: refactor isCanonicalPubKey to bitcoin-core equivalent
|
2015-08-22 12:32:03 +10:00 |
|
Daniel Cousens
|
0ff5bd5698
|
script: add isDefinedHashType to check hashType
|
2015-08-22 12:32:03 +10:00 |
|
Daniel Cousens
|
abac254d0d
|
script: use bip66 for signature checking
|
2015-08-22 11:54:00 +10:00 |
|
Daniel Cousens
|
1e23085ad7
|
use bip66 module
|
2015-08-21 20:35:22 +10:00 |
|
Daniel Cousens
|
252336ab8c
|
ECPair: fix modulo bias in makeRandom
|
2015-08-21 16:46:18 +10:00 |
|
Daniel Cousens
|
efacd387be
|
ECPair: extract WIF to 3rd party module
|
2015-08-20 20:16:57 +10:00 |
|
Daniel Cousens
|
e3f21ebeb2
|
HDNode: avoid creating multiple buffers
|
2015-08-20 14:23:27 +10:00 |
|
Daniel Cousens
|
8934de591c
|
use baddress/bcrypto/bscript for ambuigities
|
2015-08-20 13:55:13 +10:00 |
|
Daniel Cousens
|
6ec687deba
|
rename scripts to script
|
2015-08-20 13:55:13 +10:00 |
|
Daniel Cousens
|
18e9cdcc02
|
rename Address to address
|
2015-08-20 13:55:13 +10:00 |
|
Daniel Cousens
|
8f9d59fb18
|
ECPair: stop exposing ECDSA curve
|
2015-08-20 13:55:13 +10:00 |
|
Daniel Cousens
|
ca4debd92e
|
types: Expected Buffer, length to follow
|
2015-08-19 15:27:06 +10:00 |
|
Daniel Cousens
|
c06df2df8a
|
TxBuilder: fix equals is undefined in Node 0.10
|
2015-08-18 14:55:23 +10:00 |
|
Daniel Cousens
|
97a0008445
|
types: rm Script type
|
2015-08-18 14:45:00 +10:00 |
|
Daniel Cousens
|
706f5d7a9c
|
scripts: adds tests for *HashOutput
|
2015-08-18 14:44:30 +10:00 |
|
Daniel Cousens
|
ab1215adc1
|
scripts: refactor to/from ASM
|
2015-08-18 14:44:30 +10:00 |
|
Daniel Cousens
|
b933c6da44
|
scripts: re-add constrained hash types to *HashOutput
|
2015-08-18 14:44:30 +10:00 |
|
Daniel Cousens
|
20fd3cee8c
|
rename EMPTY to EMPTY_SCRIPT, extract VALUE_UINT64_MAX constant
|
2015-08-18 14:44:30 +10:00 |
|
Daniel Cousens
|
e2abe2b3af
|
merge Script/scripts
|
2015-08-18 14:44:30 +10:00 |
|
Daniel Cousens
|
151386c46d
|
scripts: remove coercion, fromASM returns Buffer
|
2015-08-18 14:44:30 +10:00 |
|
Daniel Cousens
|
812d74aa0a
|
coerce wherever necessary for now
|
2015-08-18 14:44:29 +10:00 |
|
Daniel Cousens
|
e05f8a542d
|
remove Script object
|
2015-08-18 14:44:29 +10:00 |
|
Daniel Cousens
|
e743c58ed6
|
remove usage of instanced Scripts
|
2015-08-18 14:44:29 +10:00 |
|
Daniel Cousens
|
5d2abb523e
|
HDNode: use typeforce.tuple for arguments
|
2015-08-18 14:21:38 +10:00 |
|
Daniel Cousens
|
fd7f0b0ef8
|
address: use input first errors, easier detection
|
2015-08-18 09:27:55 +10:00 |
|
Daniel Cousens
|
6002d9abd4
|
ecdsa: fix up tuple indentation
|
2015-08-14 10:56:31 +10:00 |
|
Daniel Cousens
|
94e16fbe37
|
rename __disableExcess to __noStrict
|
2015-08-14 10:56:31 +10:00 |
|
Daniel Cousens
|
92d16142d1
|
ECSignature: use types.tuple for arguments
|
2015-08-14 10:56:31 +10:00 |
|
Daniel Cousens
|
33a9dc4cce
|
dustThreshold is a UInt53
|
2015-08-14 10:56:31 +10:00 |
|
Daniel Cousens
|
70c874e3cc
|
bufferutils: remove use of assert
|
2015-08-14 10:56:31 +10:00 |
|
Daniel Cousens
|
d85df4a6d6
|
TransactionBuilder: remove use of assert
|
2015-08-14 10:56:31 +10:00 |
|
Daniel Cousens
|
c1a965d096
|
ECSignature: remove use of assert
|
2015-08-14 10:56:31 +10:00 |
|
Daniel Cousens
|
f2f0747187
|
Transaction: remove use of assert
|
2015-08-14 10:56:31 +10:00 |
|
Daniel Cousens
|
e4b697a261
|
scripts: remove use of assert
|
2015-08-14 10:56:31 +10:00 |
|
Daniel Cousens
|
1d4a71852f
|
Script: remove use of assert
|
2015-08-14 10:56:31 +10:00 |
|
Daniel Cousens
|
395c43ad74
|
block: remove use of assert
|
2015-08-14 10:56:31 +10:00 |
|
Daniel Cousens
|
8f821f4768
|
ECPair: remove use of assert
|
2015-08-14 10:56:31 +10:00 |
|
Daniel Cousens
|
254b670427
|
add types
|
2015-08-14 10:56:30 +10:00 |
|
Daniel Cousens
|
5ae66d46e4
|
mv opcodes.js -> opcodes.json
|
2015-08-14 10:53:44 +10:00 |
|
Daniel Cousens
|
a8db7b2cbf
|
block: use Tx.byteLength to avoid double serialization
|
2015-08-14 08:23:50 +10:00 |
|
Daniel Cousens
|
ae0001ce37
|
TxBuilder: more explicit comment for address type parameter
|
2015-08-13 19:07:09 +10:00 |
|
Daniel Cousens
|
56160622ca
|
adhere to standard 5.0.0
|
2015-08-13 14:25:32 +10:00 |
|
Daniel Cousens
|
47364293a9
|
message: remove old TODO
|
2015-08-11 16:45:32 +10:00 |
|
Daniel Cousens
|
64657eb81f
|
ECSignature: further avoidance of assert
|
2015-08-11 16:42:45 +10:00 |
|
Daniel Cousens
|
9d1c610c08
|
Transaction: capitalize Buffer constants
|
2015-08-11 16:42:45 +10:00 |
|
Daniel Cousens
|
6fbdecc39d
|
networks: remove pchMessageStart chain parameter
|
2015-08-11 16:41:34 +10:00 |
|
Daniel Cousens
|
a4eb58f103
|
TxBuilder: pass network through fromTransaction, fixes failing tests
|
2015-08-07 16:56:27 +10:00 |
|
Daniel Cousens
|
1e90e1620a
|
TxBuilder: throw on keyPair network inconsistency
|
2015-08-07 16:54:22 +10:00 |
|
Daniel Cousens
|
2971816588
|
TxBuilder: pass network through to fromTransaction
|
2015-08-07 16:41:24 +10:00 |
|
Daniel Cousens
|
f47decaa2f
|
HDNode: adopt new strict network list parameters
|
2015-08-07 16:36:10 +10:00 |
|
Daniel Cousens
|
d3579289bd
|
ECPair: use 1 line for throw
|
2015-08-07 16:36:10 +10:00 |
|
Daniel Cousens
|
6443e4c2b6
|
ECPair: support strict network syntax
|
2015-08-07 16:36:10 +10:00 |
|
Daniel Cousens
|
f5d99d8f8a
|
address: remove network detection
|
2015-08-07 16:36:10 +10:00 |
|
Daniel Cousens
|
b67a3dcf9e
|
TxBuilder: specify missing network information for TxBuilder
|
2015-08-07 16:36:10 +10:00 |
|
Daniel Cousens
|
37d094c179
|
TxBuilder: avoid use of network dependent functions where possible
|
2015-08-07 16:36:10 +10:00 |
|
Daniel Cousens
|
bdf92f73b4
|
HDNode: use throw over assert
|
2015-07-28 17:42:10 +10:00 |
|
Daniel Cousens
|
1a4000cc98
|
address: throw Invalid address instead of hash/version for fromBase58Check
|
2015-07-24 12:18:00 +10:00 |
|
Daniel Cousens
|
13f414c122
|
remove Address constructor
|
2015-07-24 12:18:00 +10:00 |
|
Daniel Cousens
|
abd27dd2be
|
TxBuilder: disable Address object as valid input
|
2015-07-24 12:18:00 +10:00 |
|
Daniel Cousens
|
e9193df290
|
message: cease accepting an Address object
|
2015-07-24 12:18:00 +10:00 |
|
Daniel Cousens
|
588b346f5d
|
ECPair: cease using Address for address encoding
|
2015-07-24 12:18:00 +10:00 |
|
Daniel Cousens
|
5ce093739e
|
TxBuilder: clarify comment about coin base script support
|
2015-07-20 16:30:55 +10:00 |
|
Daniel Cousens
|
5021714a85
|
ECSignature: verbose comments are overly verbose, see BIP if necessary
|
2015-07-07 18:04:52 +10:00 |
|
Daniel Cousens
|
e8fd3887da
|
ECSignature: account for SIGHASH being ignored
|
2015-07-07 17:47:29 +10:00 |
|
Daniel Cousens
|
92f9342c69
|
adhere more closely to BIP66
|
2015-07-07 17:42:01 +10:00 |
|
Daniel Cousens
|
5ba0c3d578
|
Merge pull request #420 from bitcoinjs/ecdsabreak
index: stop exposing ecdsa
|
2015-07-07 10:35:07 +10:00 |
|
Wei Lu
|
db3523d2c9
|
Merge pull request #418 from bitcoinjs/ecdsatypes
Stricter typing in ECDSA
|
2015-07-05 16:42:44 +08:00 |
|
Daniel Cousens
|
97c4de9da6
|
*: throw new Error over assert(false, ...
|
2015-06-23 16:44:05 +10:00 |
|
Daniel Cousens
|
7bd63fd9b9
|
index: stop exposing ecdsa
|
2015-06-23 16:17:45 +10:00 |
|
Daniel Cousens
|
73d8128f0f
|
ecdsa: always enforce types in ecdsa
|
2015-06-23 16:11:34 +10:00 |
|
Daniel Cousens
|
eb5508565a
|
Merge pull request #411 from blocktrail/sign-incorrect-op0s-master
fix txb.sign having issues when an incomplete TX contains OP_0s, but not enough
|
2015-06-01 12:01:36 +10:00 |
|