eordano
fcc9081ddd
Fix JSDocs from String to string
10 years ago
Braydon Fuller
fb01bc09e4
Added test to check that merkle nodes do not match, and misc jshint fixes.
10 years ago
eordano
f0f90c5d6a
Change unnecesarily big name
10 years ago
eordano
a6df7a175e
Better granularity on serialize() checks
10 years ago
William Wolf
3eb95b6576
_traverseMerkleTree state cleanup + improve hasTransactions()
10 years ago
William Wolf
bb0efd2108
Remove _validMerkleTree caching
10 years ago
William Wolf
a478e39524
Review Fixes
10 years ago
eordano
a07d90dfbf
Fix error on public key for hdpublickey
10 years ago
eordano
89d78019d8
Fix bug on hdprivate key generation
10 years ago
William Wolf
a67084d176
cleanup
10 years ago
William Wolf
c558c4e34a
hasTransaction(tx) + tests
10 years ago
William Wolf
611dae5b55
validMerkleTree() method plus more test blocks
10 years ago
William Wolf
a32d8dbab8
Add block/index.js
10 years ago
William Wolf
4b601c3711
Move block.js and blockheader.js into lib/block/
10 years ago
William Wolf
32583fbbe3
Cleanup test
10 years ago
William Wolf
29c18e22f0
Add lib/block/merkleblock.js
10 years ago
dskloet
2c5219e32c
typo
10 years ago
dskloet
38bae9a1da
Fix JS doc annotations in publickey.js
10 years ago
eordano
9c3170cb3a
HDPublicKey: Add precondition checks for static methods
10 years ago
eordano
0938eadab5
Add precondition checks to HDPrivateKey.from*
10 years ago
eordano
1a5780e35e
Script/Address: Add check for valid number of threshold needed
10 years ago
eordano
c19d5c6501
Transaction: Check that threshold is less than amount of signatures
10 years ago
eordano
0bbde0c9de
Script: Update max length for standard opreturn to 80
10 years ago
Elichai Turkel
4524400fe7
Added 2 more testnet DNSs
I added the missing testnet DNSs that exist in Bitcoin code: https://github.com/bitcoin/bitcoin/blob/master/src/chainparams.cpp#L212
10 years ago
eordano
7e88167891
Add check for small fees
10 years ago
Trevin Hofmann
374e43bed2
Properly capitalize Base58Check and Base58
10 years ago
Trevin Hofmann
59a9e40f13
Properly capitalize BufferUtil everywhere
Right out of CONTRIBUTING.md
https://github.com/bitpay/bitcore/blob/master/CONTRIBUTING.md#g6---naming-utility-namespaces
10 years ago
Trevin Hofmann
ea2a0163c4
Remove redundant util requirement
The Transaction class was requiring bitcore.util.js twice, as `util` and
`JSUtil`. It seems `JSUtil` is the standard name in other classes.
10 years ago
Trevin Hofmann
5bb750252d
Add inspect method to Opcode.
10 years ago
Manuel Aráoz
a9533546b2
remove console.log
10 years ago
Esteban Ordano
cca1e2148c
Improve test coverage on multisig
10 years ago
Esteban Ordano
605be801af
Add Signature subclass for Transaction Signatures
10 years ago
Manuel Araoz
0e1de0403e
remove logs
10 years ago
Manuel Araoz
8ca396c34f
refactor transaction input deserializtion
10 years ago
Manuel Araoz
0f17927fde
fix 0 fee error
10 years ago
Manuel Araoz
aa1158097d
fix bug in change calculation
10 years ago
Manuel Araoz
986264e181
add locktime docs and Transaction#getLockTime
10 years ago
Esteban Ordano
f8974b383a
transaction: Change variable name from time to height
10 years ago
Esteban Ordano
7cf3b6eb91
Split setLockTime in two methods
10 years ago
Manuel Araoz
07c8c153f9
add Transaction#lockUntil stub
10 years ago
Braydon Fuller
904df59493
Added docs link to InvalidArgument message for preconditions.
- Error messages will appear as: "Invalid Argument: First argument is required, please include address data. Documentation: http://bitcore.io/guide/address.html "
10 years ago
Manuel Araoz
edda8ea723
fix broken tests
10 years ago
Manuel Araoz
85e938ba72
improve code style
10 years ago
Nathan Hernandez
80d444f60e
Update transaction.js
10 years ago
Esteban Ordano
78189f61d9
Rewrite of Transaction doc
10 years ago
Esteban Ordano
4781c4328f
Better error message on unsupported input types
10 years ago
Esteban Ordano
67164790ff
Fix inspect method so it doesn't fail on incomplete TX
10 years ago
Esteban Ordano
36d854b255
HDPublicKey: Fix JSDocs
10 years ago
Esteban Ordano
9cafbd558d
Dust outputs: Fix condition (one OP_RETURN was avoiding checks on other outputs)
10 years ago
Esteban Ordano
0bcfec9f2f
Point: Return the curve point instead of instantiating each time
10 years ago