Manuel Araoz
406600720e
valid tx tests passing!
11 years ago
Manuel Araoz
1119b6f9e7
fixed SignatureHash tests!!!!!
11 years ago
Matias Alejo Garcia
56bed9b3f2
fix noSorting, add testcase against bitcoind output
11 years ago
Matias Alejo Garcia
921bc2ff17
add sorting of pubkeys for multisig addr generation
11 years ago
Manuel Araoz
5b6c9e2f53
fixed SignatureHash tests!!!!!
11 years ago
Matias Alejo Garcia
f6f7a01efc
add p2sh support and test
11 years ago
Manuel Araoz
72570719d8
random transaction and script generation
11 years ago
Ryan X. Charles
f89dcda0a2
script parsing should be more loose on pushdata
This testnet transaction was being parsed incorrectly:
cc64de74ba7002bbf4e3646824d7bbf0920004fb2ce45aa7270c4116ff11b715
Script was throwing an error when it should not have been. The error was that
PUSHDATA1 was trying to push 117 bytes to the stack, but it was followed by
only 75 bytes. But this transaction is accepted as valid by bitcoin-qt on
testnet. So we are mistaken by throwing an error in this case.
11 years ago
MattFaus
5af02e937a
Work in progress. I have a problem with the verifyInput() callback calling itself whenever the test assertions throw an exception. I looked at the step and async libraries that are already installed via package.json, but I don't think either of these provide the functionality I need.
11 years ago
Manuel Araoz
ddb3e6de70
invalid script test passing!
11 years ago
Manuel Araoz
03d200bad7
some invalid script tests working
11 years ago
Manuel Araoz
9ef8b78182
refactor int conversion, encoding, and utils
11 years ago
Manuel Araoz
512d9d39ee
small fix
11 years ago
Manuel Araoz
1d72154c54
separate getStringContent and getHumanReadable
11 years ago
Manuel Araoz
dc56cb8d45
fixed Script parse tests for all scripts (valid and invalid)
11 years ago
Manuel Araoz
e83590f528
fix Script parsing for some cases, setup ScriptInterpreter tests
11 years ago
Manuel Araoz
05c5538162
script parser code added and tested
11 years ago
Matias Alejo Garcia
c0c325dabd
all classes working with soop and test passing
11 years ago
Manuel Araoz
40ee699453
working on Transaction verification and Script tests
11 years ago
Manuel Araoz
b4642e8924
all tests working in browser :D
11 years ago
Manuel Araoz
e0233f02dd
fix Buffer.concat use
11 years ago
Manuel Araoz
d96181898a
fixed concat references
11 years ago
Manuel Araoz
0096238004
migrating buffertools compare method and test
11 years ago
Matias Alejo Garcia
f35c03544b
replace tabs with 2 spaces using "expand"
11 years ago
Ryan X. Charles
c708d55fd5
import script functions from cosign
11 years ago
Ryan X. Charles
94aaa6d242
must use new operator to make new Put
11 years ago
Ryan X. Charles
f62875efad
negative indexes don't work in javascript
11 years ago
Ryan X. Charles
e8f6cbeac1
correct tabs for Script.TX_ lines
11 years ago
Ryan X. Charles
3c0375d8b0
export TX types ... for cosign
11 years ago
Stephen Pair
f9e86a5e83
rework logging, remove some unused code
11 years ago
Jeff Garzik
b6f05a3111
Script, ScriptInterpreter: Verify P2SH scripts and signatures
12 years ago
Jeff Garzik
82a69d41e7
Script: detect and parse P2SH and multisig scripts
12 years ago
Jeff Garzik
46b84e6398
Script: add multisig, P2SH helpers. Prefer direct Buffer encoding to bufferput
12 years ago
Jeff Garzik
248ef22326
Block, Script, ScriptInterpreter: capitalize deps for new libcoin names
Gets them compiling again.
12 years ago
Stephen Pair
ebddafcaa7
some more stuff...not complete yet
12 years ago