Braydon Fuller
0c983c9c4a
Networks: Added regtest to networks
Brings better compatibility between "testnet" and "regtest". Services such as
Bitcore Wallet Service and wallets such as Copay that have "testnet" and not
"regtest" will be compatible with "regtest" if enabled in a Bitcore node. This
adds two new API methods to enable/disable regtest on the testnet network:
- `bitcore.Networks.enableRegtest()`
- `bitcore.Networks.disableRegtest()`
9 years ago
Brandon Roberts
783c59d99e
removed Networks.all and associated test
10 years ago
Brandon Robertz
a38c0c2d93
modularize network version check/tests issues/1265
10 years ago
Manuel Araoz
e25ffde6db
refactor networks
10 years ago
Kirill Fomichev
ca96359f40
Immutable network Object
10 years ago
eordano
4f4b2b93fb
Allow arrays as second arg to Networks.get
10 years ago
Braydon Fuller
f034a71929
Network Fixes
- Fixed Address classification for a custom network
- Added ability to remove a custom network
- Increased test coverage for Address
10 years ago
Eric Martindale
c759401373
Fix tests, address commentary from @braydonf .
10 years ago
Eric Martindale
9ece2f78ed
Fix bug if no value is supplied.
10 years ago
eordano
fcc9081ddd
Fix JSDocs from String to string
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
Braydon Fuller
6fa7e7603a
Networks: Added the ability to define a custom network.
10 years ago
Esteban Ordano
36e87d8822
PrivateKey, PublicKey, Network linted
* Added 100% test coverage for them also
10 years ago
Braydon Fuller
32ac9bb63e
Change utility naming
10 years ago
Braydon Fuller
1858766627
Standardized toJSON, fromJSON, toString and fromString interfaces
10 years ago
Yemel Jardi
c30f656540
Remove custom hex function at networks.js
10 years ago
Braydon Fuller
3b061b057f
Address: Added documentation and refactored to accept both a string and network object.
10 years ago
Yemel Jardi
57968674ef
Add a better check on networkMaps
10 years ago
Yemel Jardi
a9e54a7856
Progress on sending and receiving messages
10 years ago
Yemel Jardi
a1e8f3c596
Add transport/peermanager class
10 years ago
Braydon Fuller
968f9936d8
Networks: Add mainnet alias
10 years ago
Esteban Ordano
3dbb35a708
Fixes build, add "mainnet" again and fixes uri
10 years ago
Braydon Fuller
6e36baebc6
Tests: Enable tests for network, include defaultNetwork, check each constant, build browser tests before running to make sure it's up-to-date
10 years ago
Esteban Ordano
950ea6ed1a
Add public key
10 years ago
Esteban Ordano
0695cda651
fix jsdoc
10 years ago
Esteban Ordano
4b201a8db1
Replace grunt with gulp
10 years ago
Esteban Ordano
73265d9089
Refactor network.js
10 years ago
Braydon Fuller
85ce140aeb
Keys: Renamed Privkey to PrivateKey and Pubkey to PublicKey
10 years ago
Manuel Araoz
4508fb6765
fix references to encoding
10 years ago
Manuel Araoz
deee8c6887
refactor protocol->encoding
10 years ago
Manuel Araoz
56ca8a20c1
use strict to protocol
10 years ago
Manuel Araoz
5dd3eae34f
move more files
10 years ago
Eric Martindale
dac2acc743
Clean example for full identities.
10 years ago
Eric Martindale
f01ebd97d2
Buffers, identities, and randomNumbers.
10 years ago
Ryan X. Charles
6a26813955
p2sh -> scripthash
more appealing and memorable name
10 years ago
Ryan X. Charles
3871e43dd8
make address more consistent with rest of lib
11 years ago
Ryan X. Charles
862235e57e
initial commit
address, base58, base58check, hash all working with tests.
base58check code taken from bitcore.
11 years ago