Nadav Ivgi
0a075573ed
Fix signing with compressed keys
calcPubkeyRecoveryParam always assumed a non-compressed key, and was comparing
the address generated from a non-compressed public key against the original
address generated from the compressed public key.
This commit fixes it by passing the entire pubkey object, and configuring the
generated address to use the same compressed setting as the original one.
11 years ago
Nadav Ivgi
df88e93849
Support Numbers in formatValue
11 years ago
vub
397de49089
Made it process multisig addresses correctly
11 years ago
vub
a2ccfc66a0
compiled
11 years ago
vub
93e50e9433
Started work on wallet, and added hex serialization
11 years ago
vub
5e2a9f0c26
Added BIP32 support
11 years ago
vub
aa22b9d89e
Added a new way of adding an output to a transaction
11 years ago
vub
a34bc9e2ea
Many small improvements
11 years ago
vub
45ec63d2f1
Whoops...
11 years ago
vub
335d0dcd96
bugfix
11 years ago
vub
274112005f
Beefed up TransactionIn constructor
11 years ago
vub
f53a4e3ffa
Added sign with keys method to transaction and did lots of small cleanups
11 years ago
vub
917822541c
Fixed serialization bug
11 years ago
vub
7bfd72c8c4
Replaced bigints with plain integers for transaction values
11 years ago
vub
c20dee5908
bytesToString bugfix
11 years ago
vub
4d9130c937
Added last commit to compile
11 years ago
vub
5377f0746f
Hex private keys now work with Bitcoin.Key
11 years ago
vub
3d3421ce17
Removed browser-native option (gave me a bad result)
11 years ago
vub
65296f31f5
Fixed base64 encoding bug
11 years ago
vub
b8023389fd
Reversed txhash
11 years ago
vub
7684c3f705
Let ECKeys be constructed from ECKeys
11 years ago
vub
117ecd1e29
Fixed bytesToNum bug
11 years ago
vub
8fb725f796
Made TransactionOut take numbers as input
11 years ago
vub
b41a4ecb91
Fixed address object creation bug
11 years ago
vub
2bfa783be2
Added hash flipping to serialization and deserialization
11 years ago
vub
50f6333b0e
Changed i -> index in Transaction.prototype.sign
11 years ago
vub
038f8d5d99
Removed direct references to Bitcoin
11 years ago
vub
a753f069a5
Fixed bug in numToBytes and util -> conv
11 years ago
vub
eb62360a49
Replaced /convert with ./convert (bugfix)
11 years ago
vub
f95b08a576
Replaced Crypto.util and util (was a typo) with conv
11 years ago
vub
38ea108183
Bugfix
11 years ago
vub
44d740f84e
Small bugfix
11 years ago
vub
cb70b4425b
Substituted in numToBytes
11 years ago
vub
95b736b2a0
Added compiled version
11 years ago
vub
ff8152fe41
Added p2sh support for addOutput
11 years ago
vub
65abb85668
Added to convert.js and some more multisig methods
11 years ago
vub
e43d23235b
Added some transaction methods, and removed all internal use of base64
11 years ago
vub
9922864da4
Added deserialization, made some modifications
11 years ago
Roman Shtylman
41f0027883
port message to common.js style and add tests
12 years ago
Roman Shtylman
981203e982
fix transaction processing for wallets
12 years ago
Roman Shtylman
f3a31b9a4c
add test coverage via istanbul
12 years ago
Roman Shtylman
7c264883ab
update cryptojs hashes to v3.1.2
12 years ago
Roman Shtylman
44c8683924
fix sha256 hex conversion
12 years ago
Roman Shtylman
e94636ef25
fix test require so browserify works for testling
12 years ago
Roman Shtylman
93e9f9f188
add testling info to package.json
12 years ago
Roman Shtylman
e1a26ecdc7
remove old build and vendor files
12 years ago
Roman Shtylman
0faac29134
start to split into node commonjs style modules
- no longer is the global Bitcoin used for modules
- cleaner and more maintainable code
- add more tests
12 years ago
Stefan Thomas
a6f05fb505
Bump version.
13 years ago
Stefan Thomas
24881584c7
Fix padding issue with exported private keys.
13 years ago
Stefan Thomas
e90780d3d3
Fix typo in ECDSA.verify.
13 years ago