Daniel Cousens
4ee298c414
block: add type checking
2016-10-10 11:20:20 +11:00
Daniel Cousens
dd4596a44a
block: use merkle-lib instead of inline calculation
2016-10-10 11:20:20 +11:00
Daniel Cousens
3bff2c63af
transaction: simplify toBuffer offset management
2016-10-10 07:56:18 +11:00
Daniel Cousens
f7b2fdfe60
TransactionBuilder: avoid input mutation until after exception possibility
2016-10-09 22:04:32 +11:00
Daniel Cousens
17377381c4
TransactionBuilder: if prevOutScript is defined, but not signable, try 1 last time
2016-10-09 22:04:32 +11:00
Daniel Cousens
45b0e35264
transaction/types: use Satoshi over UInt53
2016-10-07 14:25:44 +11:00
Daniel Cousens
ecc6d45a7e
types: add Satoshi
2016-10-07 14:25:44 +11:00
Daniel Cousens
29a865788d
use varuint-bitcoin
2016-10-07 10:55:34 +11:00
Daniel Cousens
7cdabef954
ecdsa: remove unused functions
2016-10-06 21:40:42 +11:00
Daniel Cousens
87cb018466
rm message module
2016-10-06 21:40:42 +11:00
Daniel Cousens
fd40232147
package: remove buffer-compare/buffer-equals
2016-10-06 21:31:10 +11:00
Daniel Cousens
0e08a9b0ce
Revert "HDNode: remove unnecessary this context"
2016-10-06 21:16:56 +11:00
Daniel Cousens
7a066b68ed
HDNode: remove unnecessary this context
2016-10-06 14:08:27 +11:00
Daniel Cousens
b91cfcf196
package: update to typeforce 1.8.7
2016-10-06 12:34:11 +11:00
Daniel Cousens
4ae06003c4
Merge pull request #638 from bitcoinjs/minpush
...
script: always compile in a minimaldata compliant way
2016-10-05 19:31:52 +11:00
Daniel Cousens
c1570f8056
script: always compile in a minimaldata compliant way
2016-09-29 13:51:17 +10:00
Daniel Cousens
1aab317dad
TransactionBuilder: extract internal signature invalidation functions for individual testing
2016-09-28 16:47:58 +10:00
Daniel Cousens
ccde09fdc3
TransactionBuilder: move fixMultisigOrder back to free function
2016-09-28 15:27:14 +10:00
Daniel Cousens
402e871d40
TransactionBuilder: move sign bulk to prepareInput
2016-09-28 15:23:52 +10:00
Daniel Cousens
a1d3e33c84
address/crypto/script/types: adhere to no-use-before-define
2016-09-28 15:23:52 +10:00
Daniel Cousens
d3ccbb6277
TransactionBuilder: rename index to vout internally
2016-09-28 01:23:37 +10:00
Daniel Cousens
9e5aac8bac
TransactionBuilder: fix duplicate txOut detection
2016-09-28 01:23:37 +10:00
Daniel Cousens
b3fd50ffd6
TransactionBuilder: refactor extractInput/extractFromOutput
2016-09-28 00:50:46 +10:00
Daniel Cousens
6826aa312d
TransactionBuilder: less exits
2016-09-27 22:39:38 +10:00
Daniel Cousens
83b2bb5d6a
TransactionBuilder: avoid extra getPublicKeyBuffer calls
2016-09-27 22:39:38 +10:00
Daniel Cousens
302b4f0796
TransactionBuilder: signatureScript is only defined once
2016-09-27 16:31:09 +10:00
Daniel Cousens
fbcc23fa14
TransactionBuilder: avoid unnecessary cache object
2016-09-27 15:42:14 +10:00
Daniel Cousens
49c6ebe3a0
TransactionBuilder: reword error for correctness
2016-09-27 15:42:11 +10:00
Daniel Cousens
61718cdbaa
txb: remove unused variables
2016-09-26 15:34:43 +10:00
Daniel Cousens
17c6ff62a0
bufferutils: fix pushDataInt output
2016-08-31 16:01:36 +10:00
Daniel Cousens
cc1af7d6a3
Transaction: return a slice, not the original Buffer
2016-08-10 11:44:09 +10:00
Daniel Cousens
6eae0241aa
Transaction: allow parameterizable buffer
2016-08-10 11:44:09 +10:00
Daniel Cousens
9f1d41fc44
script: enforce PUSH_DATA codes for witness outputs
2016-07-12 12:32:29 +10:00
Daniel Cousens
20a026aefe
scripts/tests: add witness* scripts
2016-07-12 12:32:29 +10:00
Daniel Cousens
148e9fc7a8
Merge branch 'master' into codesep
2016-06-30 16:13:08 +10:00
Daniel Cousens
6faeae397f
TxBuilder: add setVersion
2016-06-22 14:57:33 +10:00
Daniel Cousens
697f2da1bc
Transaction: re-work hashForSignature for readability
2016-06-22 14:46:05 +10:00
JP Richardson
ac8ae8f0ed
opcodes: add json extension to fix Webpack JSON loader
2016-06-08 17:00:37 -05:00
Daniel Cousens
79ac51dbbd
Merge branch 'master' into fix/isCoinbaseHash
2016-05-06 14:18:06 +10:00
Daniel Cousens
d58e09a3a7
Block: add checkMerkleRoot
2016-05-05 16:51:33 +10:00
Kirill Fomichev
8ddcf737f9
Update Transaction.isCoinbaseHash
...
- add argument type-checking
- replace Array.every on for-loop
2016-05-03 15:47:15 +03:00
Karel Bilek
f958dd1e86
Adding Transaction.prototype.isCoinbase
2016-05-03 21:46:35 +10:00
Daniel Cousens
ea4ce4e2a6
ECPair: no elseif needed, move default for clarity
2016-04-27 18:04:35 +10:00
Daniel Cousens
00cee340dd
ECPair: don't depend on WIF error message, avoid unnecessary import
2016-04-27 17:05:33 +10:00
Daniel Cousens
e52c0d5b67
ECPair: use toBase58Check
2016-04-27 16:42:25 +10:00
Daniel Cousens
9db67bb3b1
Cleanup for #540 ( #551 )
...
* Txbuilder: early exit as soon as possible
* Txbuilder: prefer function declaration over variable
* TxBuilder: extract extractFromOutputScript
* TxBuilder: extract buildFromInputData
2016-04-08 12:23:32 +10:00
Kirill Fomichev
bc9a95e0ae
Use buffer-reverse instead [].reverse.call
2016-03-10 07:57:30 +03:00
Daniel Cousens
7d2b2dee45
Merge pull request #550 from bitcoinjs/testnet
...
Add network list tests for ECPair/HDNode
2016-02-25 18:20:53 +11:00
Daniel Cousens
285bbd6478
Merge pull request #540 from blocktrail/segwit-prep
...
Refactoring `extractInput` and `__build` to enable nested scripts
2016-02-25 13:59:47 +11:00
Daniel Cousens
aae5db6a59
ECPair/HDNode: missing version from list is Unknown, not Invalid
2016-02-25 13:48:29 +11:00