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
Manuel Araoz
2b3ce4de12
adds a test and small fix for transaction
10 years ago
Braydon Fuller
59a6c926d7
Returned jsdoc for info.header, and removed nolonger used opts argument
10 years ago
Braydon Fuller
6aa0d14bb9
Removed magicnumber and size as properties of a block.
10 years ago
Braydon Fuller
116ddac345
If skipMagic is enabled do not set the magic or size on the block, the values would have been incorrect.
10 years ago
Braydon Fuller
38b8c211f3
Fix jshint complaints.
10 years ago
Esteban Ordano
b416655222
block serialization: Add option skip magic numbers
10 years ago
Yemel Jardi
42e2c6c525
Implement I5 on URI
10 years ago
Esteban Ordano
6923b9bed9
Drop explorers
10 years ago
Manuel Araoz
b37a8d2f32
new version of extend
10 years ago
Manuel Araoz
f2eeb7664e
fix extend
10 years ago
Manuel Araoz
149b7fafed
new error system with no code generation
10 years ago
Esteban Ordano
eaa07363a9
Drop code for the p2p module
10 years ago
Esteban Ordano
f3663e26d6
Don't add the same input twice
10 years ago
Elichai Turkel
b827e36e13
Added mempool request
I added `GetMempool` function that sends an 'mempool' request.
the answer will come in 'inv' message.
10 years ago
Esteban Ordano
41191a285f
Add alternative to create an Address
* When by error one has two instances of an address, an address
can't be instantiated from the other
10 years ago
Esteban Ordano
ca1d8e9eeb
Drop payment protocol submodule
10 years ago