Manuel Araoz
3dd86446e0
add Interpreter docs and refactor a bit
2014-12-17 17:25:00 -03:00
Manuel Araoz
3eba0bc546
address review comments
2014-12-16 13:33:57 -03:00
Manuel Araoz
4fcc048311
script interpreting working
2014-12-16 13:33:57 -03:00
Manuel Araoz
ddd11e908c
all script_valid tests passing!
2014-12-16 13:33:56 -03:00
Manuel Araoz
0ddec23c02
fix some more tests
2014-12-16 13:33:56 -03:00
Manuel Araoz
cf48899a3a
make creation methods class methods
2014-12-16 13:33:56 -03:00
Manuel Araoz
c888c3baa7
adding some signature methods for script interpreting
2014-12-16 13:33:56 -03:00
Manuel Araoz
3de71f8558
refactors and fixes for script interpreter
2014-12-16 13:33:56 -03:00
Esteban Ordano
de4d2884c7
Modify Transaction to use Multisig
...
* Allow `Script#add` to add a Script causing concatenation of opcodes
* Add `Script#equals` to compare scripts
* Add `Script#fromAddress`
* Drop `_payTo` methods
* Add `Script.buildP2SHMultisigIn`
Greatly simplifying the internal transaction object
2014-12-15 18:19:54 -03:00
Braydon Fuller
e4cf84519d
BN: Remove toJSON and fromJSON methods from BN, as they are equivalent to toString and fromString
2014-12-12 19:06:06 -05:00
Esteban Ordano
5c974a8ef2
Refactor transaction to match new API
...
* Refactor transaction into a different subfolder
* Added a lot of tests for sighash and transaction serialization (from
reddit's and Ryan X. Charles' `fullnode`)
* Drop "only" from sighash tests and consolidate logs
2014-12-10 12:44:30 -03:00
Braydon Fuller
c86f6d68a9
ECDSA: Remove console.log
2014-12-09 13:51:10 -05:00
Esteban Ordano
4e9e89cdbf
Move license notes to LICENSE
2014-12-09 13:46:14 -03:00
Esteban Ordano
736bcd6bd4
Backport changes to ecdsa from fullnode
2014-12-09 12:01:52 -03:00
Braydon Fuller
9a76bf30ff
Crypto/Point: Added test coverage and documentation, and refactored validation
2014-12-01 10:14:36 -05:00
Esteban Ordano
a2a51ecc0c
Fix style: move each static function to an appropiate namespace
2014-11-30 09:47:44 -03:00
Manuel Araoz
1f3d7d9872
move Signature to crypto/
2014-11-27 16:42:44 -03:00
Braydon Fuller
2a2dc8196d
Crypto: Update ECDSA with to use PrivateKey and PublicKey
2014-11-25 15:10:22 -05:00
Braydon Fuller
f6e610dd28
Merge branch 'bug/recursive-tests' into feature/keys-interface-rename-tests
2014-11-25 14:55:35 -05:00
Braydon Fuller
8c4301cb0a
Tests: Updated tests to run from sub-directories and fixed crypto and encoding related missing updates.
2014-11-25 14:20:43 -05:00
Braydon Fuller
85ce140aeb
Keys: Renamed Privkey to PrivateKey and Pubkey to PublicKey
2014-11-25 13:21:53 -05:00
Braydon Fuller
23c1ed3599
Keys: Refactored to use Pubkey and Privkey and removed Keypair
2014-11-24 12:53:16 -05:00
Manuel Araoz
e0340213fe
remove KDF
2014-11-21 10:43:12 -03:00
Manuel Araoz
5440baad83
fix tests for random
2014-11-20 18:46:43 -03:00
Manuel Araoz
f0a4aebdfb
reorder tests
2014-11-20 18:08:31 -03:00
Manuel Araoz
2bf1ed8f34
use strict to crypto
2014-11-20 12:16:27 -03:00
Manuel Araoz
5dd3eae34f
move more files
2014-11-19 12:19:10 -03:00
Manuel Araoz
cebd3aaa18
move files
2014-11-19 11:57:07 -03:00