6 Commits (09a6c37430c76eb90a583f6e164dc6f98e7daee3)

Author SHA1 Message Date
d-yokoi 0cdd7b1e2c
ci: add a tslint rule to require type definitions 6 years ago
junderw 74375bfedf
Fix class constructors 6 years ago
junderw e6ea0389a2
Fix lint for transaction.ts 6 years ago
d-yokoi 03632f1507
style: apply prettier 6 years ago
junderw 1732bafbc1
Update TypeScript to use ! instead of casting 6 years ago
junderw bc28949056
Commit js, ts, and definitions in separate folders 6 years ago
junderw e58d012615
Remove safe-buffer and add type to bitcoin-ops 6 years ago
junderw 3124e50e52
TypeScript hates Buffer.prototype.reverse, so fixed it. 6 years ago
junderw c17cdce348
Move all imports to modules where possible 6 years ago
junderw fdf0006fde
Add strictNullChecks 6 years ago
junderw 4cddc83016
noImplicitAny is now true 6 years ago
junderw a652d0492d
Added Transaction 6 years ago
junderw d684a6b2ef
Fix compiler errors, tests, and scripts 6 years ago
junderw bb98289501
Renamed files to ts 6 years ago
junderw f860d467d6
Revert "Merge pull request #1086 from bitcoinjs/refactorTransaction" 6 years ago
junderw a88aa33348
Revert function hoisting removal 6 years ago
junderw 17c89fdc5e
Move Transaction to ES6 6 years ago
Daniel Cousens a5db0a4e44 sed -i 's/ var / const /', with const->let fixes 7 years ago
Daniel Cousens 91b8823aa8 sed -i 's/^var /const /' 7 years ago
Karel Bilek c96bb93841 Add weight / vsize 8 years ago
Daniel Cousens fe0ad81472 package: use safe-buffer 8 years ago
Daniel Cousens aeb0312d63 use safe-buffers throughout impl 8 years ago
Daniel Cousens ab1fc4c9a4 reduce bufferutils usage 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
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 c81f561f3e transaction: no i variable shadow 8 years ago
Thomas Kerin bec7f690ce Rename __hasWitnesses -> hasWitnesses, and add tests 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
Thomas Kerin 7b1167708a Transaction and block versions are signed integers 8 years ago
Daniel Cousens 3bff2c63af transaction: simplify toBuffer offset management 8 years ago
Daniel Cousens 45b0e35264 transaction/types: use Satoshi over UInt53 8 years ago
Daniel Cousens cc1af7d6a3 Transaction: return a slice, not the original Buffer 9 years ago
Daniel Cousens 6eae0241aa Transaction: allow parameterizable buffer 9 years ago
Daniel Cousens 697f2da1bc Transaction: re-work hashForSignature for readability 9 years ago
JP Richardson ac8ae8f0ed opcodes: add json extension to fix Webpack JSON loader 9 years ago
Kirill Fomichev 8ddcf737f9 Update Transaction.isCoinbaseHash 9 years ago
Karel Bilek f958dd1e86 Adding Transaction.prototype.isCoinbase 9 years ago
Kirill Fomichev bc9a95e0ae Use buffer-reverse instead [].reverse.call 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 05cfdf6a6a docs: remove inline endian-ness notes, no endianness 9 years ago