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
10 years ago
Braydon Fuller
e4cf84519d
BN: Remove toJSON and fromJSON methods from BN, as they are equivalent to toString and fromString
10 years ago
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
10 years ago
Braydon Fuller
c86f6d68a9
ECDSA: Remove console.log
10 years ago
Esteban Ordano
4e9e89cdbf
Move license notes to LICENSE
10 years ago
Esteban Ordano
736bcd6bd4
Backport changes to ecdsa from fullnode
10 years ago
Braydon Fuller
9a76bf30ff
Crypto/Point: Added test coverage and documentation, and refactored validation
10 years ago
Esteban Ordano
a2a51ecc0c
Fix style: move each static function to an appropiate namespace
10 years ago
Manuel Araoz
1f3d7d9872
move Signature to crypto/
10 years ago
Braydon Fuller
2a2dc8196d
Crypto: Update ECDSA with to use PrivateKey and PublicKey
10 years ago
Braydon Fuller
8c4301cb0a
Tests: Updated tests to run from sub-directories and fixed crypto and encoding related missing updates.
10 years ago
Braydon Fuller
85ce140aeb
Keys: Renamed Privkey to PrivateKey and Pubkey to PublicKey
10 years ago
Braydon Fuller
23c1ed3599
Keys: Refactored to use Pubkey and Privkey and removed Keypair
10 years ago
Manuel Araoz
e0340213fe
remove KDF
10 years ago
Manuel Araoz
5440baad83
fix tests for random
10 years ago
Manuel Araoz
f0a4aebdfb
reorder tests
10 years ago
Manuel Araoz
2bf1ed8f34
use strict to crypto
10 years ago
Manuel Araoz
5dd3eae34f
move more files
10 years ago
Manuel Araoz
cebd3aaa18
move files
10 years ago