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
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
7c264883ab
update cryptojs hashes to v3.1.2
12 years ago
Roman Shtylman
44c8683924
fix sha256 hex conversion
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
24881584c7
Fix padding issue with exported private keys.
13 years ago
Stefan Thomas
e90780d3d3
Fix typo in ECDSA.verify.
13 years ago
Stefan Thomas
83742a3f5a
Update JSBN to 1.3.
13 years ago
Stefan Thomas
07f9d55ccb
Fixed DER-encoding - expects signed integers.
Thanks to Ben Reeves for the report and Tomas Pomin for the solution.
See http://crypto.stackexchange.com/questions/1795/converting-a-der-ecdsa-signature-to-asn-1
13 years ago
Stefan Thomas
c2ce224d1b
Remove debugging statements. Fixes #8 .
13 years ago
Stefan Thomas
49114d6540
Fix signMessage serialization.
13 years ago
Stefan Thomas
0aaa2c6347
Fix calcPubkeyRecoveryParam - must verify pubkey correctness.
13 years ago
Stefan Thomas
de6cfd37db
Removed modSqrt. All credit to Joric!
Derp. Well that sure simplifies things, doesn't it... :)
13 years ago
Stefan Thomas
9b2f94a028
Implement Bitcoin's method for arbitrary message signatures.
13 years ago
Mark van Cuijk
9c473ca722
Added support for the Base58-encoded private key format
13 years ago
justmoon
c952aaeb3e
Explicit check for invalid characters in Base58 decoder.
13 years ago
justmoon
faa10f0f6a
Compressed pubkey output is confirmed working, remove TODO, add comments.
13 years ago
justmoon
d03e489913
Use correct function to determine yP for pubkey compression. Fixes #6 .
13 years ago
justmoon
795abdce1f
Fixed formatting.
13 years ago
justmoon
041477918c
Typos.
13 years ago
Ben Reeves
b972e868c5
Some multisig changes
13 years ago
Stefan Thomas
6e44bdf229
Fixed global scope leaks in Base58.
13 years ago
Stefan Thomas
09e8c6e184
Added comments.
13 years ago
Stefan Thomas
de21042bb7
Fixes for Script.getInType and Script.simpleInPubKey.
13 years ago
Stefan Thomas
1a7fc9d063
Fixed indents.
13 years ago
booo
ef903bae07
src/wallet: getNextAddresss: add new address if necessary
13 years ago
booo
3445ae2a36
src/wallet.js: use jshint
13 years ago
booo
57d26950b9
src/wallet.js: remove console.log statements
13 years ago
booo
7675cf14e4
src/wallet.js: retab file
13 years ago
Stefan Thomas
d985697d8f
Added credit on encoding fix. See #1 .
13 years ago
Stefan Thomas
d7ce1e5db8
Corrected encoded form with correct padding. See #1 .
13 years ago
Stefan Thomas
e5ada7525f
Added simple exit node client.
13 years ago
Stefan Thomas
734bd57a23
Added copies of Crypto.util.* tools in Bitcoin.Util namespace.
13 years ago
Stefan Thomas
7715c41925
Wrapped Bitcoin and Base58 in platform-neutral closures.
13 years ago
Stefan Thomas
50b13d2941
More work on split key protocol.
14 years ago
Stefan Thomas
77debc1d4f
Added Paillier and ECDSA split signing demo.
14 years ago
Stefan Thomas
0f424562f2
Added more ECDSA function and some fixes.
decodeFrom is no longer destructive with it's inputs.
Added isOnCurve().
Added validate().
Fixed formatting.
Factored out new functions serializeSig and parseSig.
14 years ago
Stefan Thomas
6fdba19373
New utility function for parsing value strings.
14 years ago
Stefan Thomas
721d0791bf
Added ability to add fees in createSend.
14 years ago