Manuel Araoz
6a5aa76b76
Buffers.monkey now at 100% coverage
11 years ago
Ryan X. Charles
9e02860fd9
use "=" for dependencies to ensure exactly equal version
...so that things don't break when projects change.
11 years ago
Ryan X. Charles
45345ba427
Merge pull request #245 from maraoz/fix/test-deprecation
remove deprecated chai uses
11 years ago
Manuel Araoz
521a260afc
remove deprecated chai uses
11 years ago
Ryan X. Charles
9395781997
Merge pull request #242 from ryanxcharles/feature/privatekey-isvalid
add test for .isValid() function
11 years ago
Ryan X. Charles
c5cd242d15
add test for .isValid() function
11 years ago
Manuel Aráoz
7dda1d721b
Merge pull request #241 from maraoz/add/testling
dummy pull request to test testling integration
11 years ago
Manuel Araoz
124a2ed8af
dummy commit to test testling integration
11 years ago
dthorpe
dd5ef29831
Merge branch 'master' of https://github.com/bitpay/bitcore
11 years ago
Manuel Aráoz
a2823a6e08
Merge pull request #237 from ryanxcharles/feature/address-interface
new convenient interface for creating addresses
11 years ago
Ryan X. Charles
3fb80bc76a
Merge pull request #238 from matiu/bug/clean-examples
remove unused params in example
11 years ago
Matias Alejo Garcia
a8f5f9fcb8
remove unused params in example
11 years ago
Ryan X. Charles
a7c8cf49b3
update fromPubKeys to use fromScript
This means fewer code-duplication. Also added another test for fromScript to
make sure it is thoroughly tested. Also pass through opts to createMultisig so
that you can choose to lot let it be sorted if you want.
11 years ago
Ryan X. Charles
ae14c4aaa0
new convenient interface for creating addresses
To create an address from a public key or script, you used to have to do the
hashing yourself, and find the version yourself. For example:
var hash = bitcore.util.sha256ripe160(pubkey);
var version = bitcore.networks['livenet'].addressVersion;
var addr = new Address(version, hash);
But with this interface, things are much simpler:
var addr = Address.fromPubKey(pubkey);
The new convenience methods are:
Address.fromPubKey (for regular pubkeyhash addresses)
Address.fromPubKeys (for p2sh multisig addresses)
Address.fromScript (for any p2sh address)
11 years ago
Gordon Hall
529d26e052
add missing comma to package.json deps
11 years ago
Manuel Aráoz
5a72d7c491
Merge pull request #236 from maraoz/add/testling
Fix testling config
11 years ago
Manuel Araoz
72a44154d4
fix testling config
11 years ago
Gordon Hall
7a0ac6c590
resolved merge
11 years ago
Manuel Aráoz
7aa2c41c62
Merge pull request #234 from maraoz/add/testling
Add testling
11 years ago
Manuel Araoz
d4901278a6
add testling
11 years ago
Ryan X. Charles
45fb78296a
Merge pull request #225 from unusualbob/bug/browserbuildwindows
Fix exec syntax in browser/build.js, fixes error on windows
11 years ago
Ryan X. Charles
d51432a720
Merge pull request #232 from maraoz/feature/add-travis-to-readme
Added travis badge
11 years ago
Manuel Araoz
d1e32e84c5
added travis badge
11 years ago
Ryan X. Charles
447bbe93a2
Merge pull request #62 from Aaron1011/travis
Added .travis.yml
11 years ago
Aaron Hill
03edfd5461
Added .travis.yml
11 years ago
Ryan X. Charles
acd7909e43
Merge pull request #224 from olalonde/peer-improvements
Some improvements on PeerManager and Connection classes
11 years ago
Ryan X. Charles
98b4ededa0
Merge remote-tracking branch 'olalonde/master'
11 years ago
Ryan X. Charles
290c8af140
Merge pull request #226 from blocktrail/calcDifficulty-fix
fixed util.calcDifficulty
11 years ago
olalonde
ab18a46803
Connection: Replaced 0000... with util.NULL_HASH
11 years ago
unknown
d8c8288ce4
Change to @olalonde suggestion for compatibility on both *nix and windows
11 years ago
Ruben de Vries
3118ab1d0c
updated the calcDifficulty test to make it clear with what we're testing
11 years ago
olalonde
dd6d1a3179
PeerManager: Save start_height on peer.
11 years ago
Ruben de Vries
9c6c300289
fixed calcDifficulty by making sure the MAX_TARGET is also locally available.
added tests for 2 difficulty calculations.
11 years ago
unknown
880efdc22f
Fix exec syntax in browser/build.js, fixes error on windows
11 years ago
olalonde
ef79d74226
Peerman: pass event information to listener. Save version on peer.
11 years ago
olalonde
9d53ef5106
Connection: default value for sendGetBlocks
11 years ago
olalonde
8349e537d9
Added PayToScriptHashAddress example
11 years ago
dthorpe
5b7bfe0ed4
Fix Unresolved external symbol "FromConstructorTemplate..." linking on Windows, per #108
11 years ago
Ryan X. Charles
1b69051708
Merge pull request #221 from maraoz/refactor/network
network refactors
11 years ago
Manuel Araoz
71353426f6
network refactors
11 years ago
olalonde
4b4066a5e2
Added instructions for runnign the browser examples
11 years ago
olalonde
c6bfb5a701
Fixed browser examples. Added SimpleP2Pmonitor example.
11 years ago
Ryan X. Charles
54bbc42e7d
move chai from devDependencies to dependencies
...and update version # so we can fix npm install issue.
11 years ago
Ryan X. Charles
412bfc9bd5
update to version 0.1.10
Changes since last version:
* Fix bugs to make bitcore compatible with bitcoin core transaction tests.
* Default to sorting public keys for .createMultisig
11 years ago
Ryan X. Charles
c36d7aa4a1
Merge remote-tracking branch 'maraoz/test/Transaction'
Conflicts:
Transaction.js
test/data/sighash.json
test/test.sighash.js
11 years ago
Ryan X. Charles
b31c58cd99
Merge pull request #208 from maraoz/test/sighash
Add new SignatureHash tests using bitcoin core test data
11 years ago
Manuel Araoz
0b2dae43c5
remove console.logs and std::couts
11 years ago
Manuel Araoz
406600720e
valid tx tests passing!
11 years ago
Manuel Araoz
34ed503830
fixed 23 Transaction tests!!! :D
11 years ago
Manuel Araoz
43a031bc69
remove console.logs
11 years ago