Manuel Aráoz
01b74b8df5
Merge pull request #695 from eordano/feature/errors
Add a preconditions module, and refactor errors
10 years ago
Esteban Ordano
ea17a6ace1
Add a preconditions module, and refactor errors
100% code coverage for the preconditions module.
Usage:
```
$.checkState(something === anotherthing, 'Expected something to be
anotherthing');
$.checkArgument(something < 100, 'something', 'must be less than 100');
$.checkArgumentType(something, PrivateKey, 'something'); // The third
argument is a helper to mention the name of the argument
$.checkArgumentType(something, PrivateKey); // but it's optional (will
show up as "(unknown argument)")
```
10 years ago
Manuel Aráoz
6727342202
Merge pull request #689 from eordano/feature/scriptOpcodeUpdate
Feature/script opcode update
10 years ago
Esteban Ordano
fd531de123
Update opcode and script transactions
10 years ago
Manuel Aráoz
22b1193e32
Merge pull request #688 from eordano/feature/addressMethods
Add check functions to Address
10 years ago
Manuel Aráoz
b8601ecd46
Merge pull request #690 from eordano/feature/miscupdates
Miscelaneus updates to docs and bufferreader/writer
10 years ago
Esteban Ordano
d40d19e631
Merge pull request #686 from maraoz/add/script-pkhi-tests
add script public key hash in tests
10 years ago
Esteban Ordano
3551742fee
Miscelaneus updates to docs and bufferreader/writer
10 years ago
Esteban Ordano
1816ba197f
Add check functions to Address
10 years ago
Manuel Araoz
ec00ccba4c
add script public key hash in tests
10 years ago
Manuel Aráoz
af0991fa6d
Merge pull request #685 from braydonf/bug/ecdsa-console
ECDSA: Remove console.log
10 years ago
Braydon Fuller
c86f6d68a9
ECDSA: Remove console.log
10 years ago
Manuel Aráoz
fb1978c5f5
Merge pull request #679 from eordano/feature/ecdsabackport
Backport changes to ECDSA from fullnode
10 years ago
Esteban Ordano
4879007bc7
Merge pull request #676 from braydonf/feature/block-handling-validation
Block: Added validation of proof of work, merkle tree and other interface changes. Closes #601
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
Manuel Aráoz
dcbd0738b0
Merge pull request #678 from eordano/feature/privkeyhex
Add functionality to create private key from a hex string
10 years ago
Esteban Ordano
f8397a617e
Add option to create private key from hex
10 years ago
Manuel Aráoz
55525db73e
Merge pull request #677 from eordano/feature/privpublickey
Add ".publicKey" property to PrivateKey
10 years ago
Esteban Ordano
baf6a24d23
Add ".publicKey" property to PrivateKey
10 years ago
Braydon Fuller
d1e8109a99
Merge pull request #672 from maraoz/script/docs
add Script dev guide
10 years ago
Braydon Fuller
5d1da9802c
Block: Added validation of proof of work, merkle tree and other interface changes. Closes #601
10 years ago
Manuel Araoz
27ed2a6ccd
add js tag to some code
10 years ago
Manuel Araoz
466208a8ec
add Script dev guide
10 years ago
Manuel Aráoz
5f4eb204b4
Merge pull request #670 from braydonf/bug/browser-build-speed
Tests: Speed up browser build
10 years ago
Braydon Fuller
bc8d5fddf4
Tests: Remove devDependency
10 years ago
Braydon Fuller
6299033e45
Tests: Add browser directory
10 years ago
Braydon Fuller
10a92cdebb
Tests: Remove devDependency and change to relative path names
10 years ago
Manuel Aráoz
33715a994e
Merge pull request #666 from braydonf/bug/public-key-validation
PublicKey: Add test to verify that both uncompressed an compressed keys validate.
10 years ago
Braydon Fuller
6902697383
Tests: Speed up browser build
10 years ago
Braydon Fuller
802a0a55dd
Merge pull request #662 from maraoz/script/improvements
Improve Script API
10 years ago
Manuel Araoz
58b43345c0
add docs
10 years ago
Manuel Araoz
f231f8a054
fix a browser test 2
10 years ago
Manuel Araoz
6c5198b743
fix a browser test
10 years ago
Manuel Araoz
d19ad6f384
remove commented code
10 years ago
Manuel Araoz
eaaab5c7d0
implement Script.buildScriptHashOut()
10 years ago
Manuel Araoz
4bca5316ea
implement Script.buildDDataOut()
10 years ago
Manuel Araoz
b87e687fd9
implement Script.buildPublicKeyHashOut()
10 years ago
Manuel Araoz
163925c754
implement Script.buildMultisigOut()
10 years ago
Manuel Araoz
7b54a53414
add Opcode.smallInt()
10 years ago
Manuel Araoz
4fae69807d
change isOpReturn to isDataOut
10 years ago
Manuel Araoz
d05aa27bed
finish all tests
10 years ago
Braydon Fuller
012466d411
PublicKey: Remove compressed boolean from validation, not nessassary.
10 years ago
Braydon Fuller
ae80ca8678
PublicKey: Add test to verify that both uncompressed an compressed keys validatate. Fixes #665
10 years ago
Manuel Aráoz
919a9e6383
Merge pull request #656 from braydonf/ref/payment-protocol
Refactor Payment Protocol. Closes #607
10 years ago
Braydon Fuller
64c0d5f942
Payment Protocol: Restore and reorganize files for payment protocol.
10 years ago
Esteban Ordano
1d2b746996
Remove gulp from npm install dependencies
10 years ago
Manuel Aráoz
cf0561b98e
Merge pull request #654 from eordano/fix/buildErrors
Fix Error issues and other issues found with packaging
10 years ago
Esteban Ordano
70795ec9a6
Revert gulp delete
10 years ago
Esteban Ordano
d29d8d267d
Add message to stack
10 years ago