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
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
Gabriel Jaldon
89400c0a56
Add check to _hasDustOutputs if output has OP_RETURN
10 years ago
Esteban Ordano
73a973359b
Fix invocations to binary operations called on numbers
10 years ago
Esteban Ordano
6b05f20397
Add the new operator when BN was used without it
10 years ago
Esteban Ordano
9b2ba6f2a2
Drop prototypal inheritance for bn
10 years ago
Esteban Ordano
69b466470a
HDKeys: Return a copy buffer instead of the original instance
10 years ago
Esteban Ordano
7a73f582b4
HDKeys: add toBuffer/fromBuffer to HDPublicKey
10 years ago
Esteban Ordano
0ff4c9a922
HDKeys: Add jsdocs to hdprivatekey
10 years ago
Esteban Ordano
28a1eae0be
HDKeys: add toBuffer/fromBuffer to HDPrivateKey
10 years ago
Esteban Ordano
0bae82fdf4
Add fromBuffer and toBuffer to PrivateKey
10 years ago
Esteban Ordano
7975c59ba7
UnspentOutput: Fix issue when 0 being feed as amount
10 years ago
Esteban Ordano
4f1e13a686
UnspentOutput: Fix issue when 0 being feed as amount
10 years ago
Matias Alejo Garcia
5fa384603f
Update transaction.js
Fixes https://github.com/bitpay/bitcore/issues/1036
10 years ago
Esteban Ordano
979d284567
Transaction: add `removeInput` member
10 years ago
Esteban Ordano
e568a8786c
Transaction: Fix wrong logic on input addition
10 years ago
Manuel Araoz
c664f211d2
add BufferReader.readVarLengthBuffer
10 years ago
Esteban Ordano
1f45e88268
Add fee to serialization
10 years ago
Esteban Ordano
ed393dcb91
Update change on each output or input change
10 years ago
Esteban Ordano
bd97f20f1c
Use addInput in _fromNonP2SH
10 years ago
Manuel Araoz
b9be679e09
add some checks
10 years ago
Esteban Ordano
03f794b4a3
Add shorthand method toHex to Script
10 years ago
Yemel Jardi
3bd361e27a
Fix hd string path parsing.
10 years ago
Braydon Fuller
39484c755e
Fixed typo in docs
10 years ago
Esteban Ordano
614a228c79
Allow satoshis to be a string on output creation
10 years ago
Braydon Fuller
6fa7e7603a
Networks: Added the ability to define a custom network.
10 years ago