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
Esteban Ordano
8d68e9cb02
Use satoshisBN internally
10 years ago
Esteban Ordano
4fba2bc86c
Drop all rpc code/docs
10 years ago
Esteban Ordano
bdeac4e67d
Add inspect method to output
10 years ago
Esteban Ordano
26e688ae06
Add .toScriptHashOut() to scripts
- Also sort gulpfile dependencies
10 years ago
Braydon Fuller
84cc1a0042
Indicate internal use of getID with an underscore.
10 years ago
Braydon Fuller
81fa162a7f
Fix .jshintrc and add missing semis
10 years ago
Braydon Fuller
b38f7fa319
Added getID to PublicKey
- Tests in BloomFilter in [bitcoin core](https://github.com/bitcoin/bitcoin/blob/master/src/test/bloom_tests.cpp#L85 ) use the CPubKey.GetID as input into the BloomFilter
- The hash is calculated when generating an Address however the hash itself is not currently available
10 years ago
Esteban Ordano
0f73c3f7a3
Throw error if dust amount is detected
10 years ago
Esteban Ordano
ff82ccec71
Return undefined instead of a null signature
10 years ago
Esteban Ordano
dc6ff32290
Make serialization roundtrip recover info about inputs
10 years ago
Esteban Ordano
d053599fd2
Improve test coverage
10 years ago
Esteban Ordano
fe86abc093
Add `change` when serializing transaction
10 years ago
Yemel Jardi
e57d02c03c
Use define immutable helper
10 years ago
Braydon Fuller
b6da2e87be
Export messages so that they can be extended from another module.
10 years ago
Yemel Jardi
e222ae08c4
fix typo
10 years ago
Braydon Fuller
8b505f0cfa
Fixed tests to handle a `defaultNetwork` change
- Updated tests to work for both 'testnet' and 'livenet' as the default network.
- Fixed a bug in Address where the network property was being set as a string.
- Fixed a bug in HDKeys to handle serialized keys when the defaultNetwork changed.
10 years ago
Braydon Fuller
bce28cd227
Fixed bug in IE11 that would cause MAX_MONEY verification test to fail.
10 years ago
Yemel Jardi
0beed6efa4
Refactor HDPublicKey path validation
10 years ago
Yemel Jardi
f78ebeb46c
Refactor HDPrivateKey path validation
10 years ago
Yemel Jardi
d369154162
Script: remember network when creating from address or pubkey
10 years ago
Braydon Fuller
ff4a6f549d
Fixed bugs in IE11
10 years ago
Braydon Fuller
a801663c6d
Fixed bug in Safari for PublicKey and Script instance checking in Address
10 years ago
Braydon Fuller
d2a2be7a93
Upgraded bn.js to fix public key calculation problem, restored crypto/point.js, and added additional tests.
10 years ago
Braydon Fuller
bc4e62ecd4
Fixed public key calculation by returning the elliptic ec.curve.g
10 years ago
Braydon Fuller
a1ee393dce
JSUtil: Return result quicker for isValidJSON and add additional tests.
10 years ago
Braydon Fuller
c20a0eabed
Check type of parsed JSON to determine it's an object and not a number.
10 years ago
Yemel Jardi
9f8e2c721f
fix typo
10 years ago
Yemel Jardi
ff844e9935
Change PrivateKey.toString from WIF to hex format
10 years ago
Yemel Jardi
98cfd646e7
Allow creating a new random testnet HDPrivate key
10 years ago
Yemel Jardi
2aa5c65945
Add validations to derivation path
10 years ago
Esteban Ordano
7fe17e1699
Move explorers inside transport
10 years ago
Esteban Ordano
7cf826249b
Add jsdocs and documentation to UnspenOutput and Insight
10 years ago
Esteban Ordano
11975bc0df
Rename UTXO to Transaction.UnspentOutput
10 years ago
Esteban Ordano
1cf108ab47
Add tests for UTXO
10 years ago