adam
|
f0640a42f7
|
fixing incorrect check of signature validity
|
9 years ago |
Braydon Fuller
|
eb077eb3df
|
Added support for signing publickey inputs.
|
10 years ago |
Braydon Fuller
|
ad9dd2a41f
|
Check that the public key is valid for outputs.
|
10 years ago |
Braydon Fuller
|
9f4b1a2c26
|
Speed up isPublicKeyOut
|
10 years ago |
Braydon Fuller
|
d9047eebf0
|
Detect if scriptSig (input) or scriptPubKey (output) is previously known.
|
10 years ago |
Braydon Fuller
|
6d86c99314
|
Seperate getAddressInfo for input or output only use.
|
10 years ago |
Braydon Fuller
|
e8446d4537
|
Removed double network call
|
10 years ago |
Braydon Fuller
|
ef26931645
|
Use late definition to resolve circular dependency.
|
10 years ago |
Braydon Fuller
|
55d8c4156a
|
Add tests for script.toASM() and new method script.fromASM()
|
10 years ago |
Braydon Fuller
|
b81a64e8cf
|
Added script.toASM method
|
10 years ago |
Braydon Fuller
|
3ad484fff0
|
Added encoding type for buildDataOut
|
10 years ago |
Braydon Fuller
|
7e23109f9b
|
Added more tests around script.isPublicKeyHashIn
|
10 years ago |
Braydon Fuller
|
770e0e3a7f
|
Full public key validation isn't necessary.
|
10 years ago |
Braydon Fuller
|
febbcc6a6e
|
Check pubkeyBuf before pubkeyBuf.length
|
10 years ago |
Braydon Fuller
|
e5e783fbf9
|
Optimized performance of script.isPublicKeyHashIn()
|
10 years ago |
Gregg Zigler
|
77645c7f03
|
remove skipped tests since equalivant boolean tests already exist
|
10 years ago |
Gregg Zigler
|
183ffab02b
|
match bitcore style standards, rename arg, set default to true
|
10 years ago |
Gregg Zigler
|
a4b8c06a2d
|
get-signature-count needed to measure txs with many inputs or outputs
|
10 years ago |
Braydon Fuller
|
7723dd302a
|
Added test case for an empty OP_RETURN for script.getData() Fixes #1237
|
10 years ago |
Braydon Fuller
|
d8e90685f4
|
Fixed script.isPublicKeyHashIn bug with variable length signatures.
- DER encoded signatures have a max length of 72 bytes, however a minimum size isn't defined.
- R and S values can have arbitrary lengths
- For more information: https://github.com/bitcoin/bips/blob/master/bip-0062.mediawiki#der-encoding
|
10 years ago |
Manuel Araoz
|
a018a23b6b
|
fix bug in recognizing p2sh input scripts
|
10 years ago |
Manuel Araoz
|
db6234b500
|
remove duplicate code, increase coverage
|
10 years ago |
Manuel Araoz
|
fe17f20a97
|
remove console.log
|
10 years ago |
Manuel Araoz
|
d556a0c33d
|
fix regressions
|
10 years ago |
Manuel Araoz
|
dfc075e5d1
|
fix block parsing problem
|
10 years ago |
Manuel Araoz
|
270413a655
|
add simpler test that fails
|
10 years ago |
Manuel Araoz
|
2cccf20c9d
|
improve docs to show signatures type
|
10 years ago |
Manuel Araoz
|
ee6f8d35ef
|
increase script test coverage
|
10 years ago |
Kirill Fomichev
|
116024a7cb
|
fix Script.isPublicKeyHashOut
|
10 years ago |
Manuel Araoz
|
ef7eafbb0c
|
increase test coverage and fix some bugs
|
10 years ago |
Manuel Araoz
|
e0b1ca0e10
|
move some script logic from Address to Script
|
10 years ago |
Manuel Araoz
|
3619c7c9e2
|
fix problematic cases
|
10 years ago |
Manuel Araoz
|
62ea45a524
|
refactor Address<->Script relation
|
10 years ago |
eordano
|
575993967c
|
Standardize optional parameters to Closure syntax
|
10 years ago |
eordano
|
1a5780e35e
|
Script/Address: Add check for valid number of threshold needed
|
10 years ago |
eordano
|
0bbde0c9de
|
Script: Update max length for standard opreturn to 80
|
10 years ago |
Manuel Araoz
|
c664f211d2
|
add BufferReader.readVarLengthBuffer
|
10 years ago |
Esteban Ordano
|
03f794b4a3
|
Add shorthand method toHex to Script
|
10 years ago |
Esteban Ordano
|
26e688ae06
|
Add .toScriptHashOut() to scripts
- Also sort gulpfile dependencies
|
10 years ago |
Yemel Jardi
|
d369154162
|
Script: remember network when creating from address or pubkey
|
10 years ago |
Braydon Fuller
|
ff4a6f549d
|
Fixed bugs in IE11
|
10 years ago |
Yemel Jardi
|
9deec5e1c2
|
Use defaultNetwork in Script.toAddress
|
10 years ago |
Esteban Ordano
|
f74c7f3929
|
Simplify script to address method
|
10 years ago |
Esteban Ordano
|
ffca4cfb6f
|
Fixes Script test case for coverage and style
|
10 years ago |
Esteban Ordano
|
c1a1571535
|
Fix JSDoc for script
|
10 years ago |
Esteban Ordano
|
d688222769
|
Add toAddress(network) functionality to scripts
|
10 years ago |
Esteban Ordano
|
dc92bdd474
|
Add getData functionality to script
|
10 years ago |
Esteban Ordano
|
de4413745d
|
Fix missing disambiguation
|
10 years ago |
Manuel Araoz
|
3dd86446e0
|
add Interpreter docs and refactor a bit
|
10 years ago |
Esteban Ordano
|
5f5cf15241
|
Add capability to instantiate an Address from public keys and a threshold
|
10 years ago |