Braydon Fuller
abae55595b
Merge pull request #1345 from fanatid/feature/Transaction.to
allow Transaction.to take array (#1334 )
9 years ago
Kirill Fomichev
24ef291bed
allow Transaction.to take array
9 years ago
Braydon Fuller
1e6e5d1f1f
Merge pull request #1335 from adjoinant/fix/is_multisig
fix issue with validation within Script.isMultisigIn()
9 years ago
Patrick Nagurny
b5b7cb0d40
Merge pull request #1342 from braydonf/fix/testhtml
Fix test/index.html for manual browser testing.
9 years ago
Patrick Nagurny
01c96b5d48
Merge pull request #1343 from braydonf/tests/node4
Include Node.js 4 in travis builds.
9 years ago
adam
b582c2a4fc
correcting test opcode length error
9 years ago
Braydon Fuller
00c6706d10
Include Node.js 4 in travis builds.
9 years ago
Braydon Fuller
71d166d7a0
Fix test/index.html for manual browser testing.
9 years ago
Braydon Fuller
2939bc7689
Bump package version to 0.13.4
9 years ago
Esteban Ordano
19f3fe0de3
Using buffer-compare instead of copy&paste
9 years ago
Esteban Ordano
20cc98df57
Fix typo
9 years ago
Esteban Ordano
026f878e51
Add tests for bip69 from bitcoinjs
9 years ago
Esteban Ordano
fb65145ba7
Privacy improvement by sorting inputs and outputs
See BIP69 for more details:
https://github.com/bitcoin/bips/blob/master/bip-0069.mediawiki
9 years ago
Patrick Nagurny
a419a1b037
Merge pull request #1337 from braydonf/coinbase-fee
Return zero for coinbase transaction fee.
9 years ago
Braydon Fuller
0e24e4c421
Return zero for coinbase transaction fee.
9 years ago
adam
f0640a42f7
fixing incorrect check of signature validity
9 years ago
Braydon Fuller
966c88f138
Bump package version to 0.13.3
9 years ago
Braydon Fuller
c03498fa27
Merge pull request #1331 from pnagurny/feature/difficulty
add getDifficulty method to BlockHeader
9 years ago
Patrick Nagurny
c86f1a9c28
add getDifficulty method
9 years ago
Patrick Nagurny
fe9503fad4
Merge pull request #1332 from braydonf/travis-legacy
Use latest travis containers.
9 years ago
Braydon Fuller
8236f9b7ac
Use latest travis containers.
9 years ago
Braydon Fuller
1522a33e29
Bump package version to 0.13.2
9 years ago
Braydon Fuller
721f54f965
Merge pull request #1324 from zmanian/SetLockTimeSeqNumber
Fix SequenceNumber for nLockTime transactions
9 years ago
Zaki Manian
c9980dc9b2
Ensure that sequence number is preserved on after serialize->deserialize
10 years ago
Zaki Manian
c7c1122123
Adjusted test cases as requested.
Test that the SequenceNumber is zero
Remove unncessary expect
10 years ago
Braydon Fuller
dc93b6c394
Bump package version to 0.13.1
10 years ago
Zaki Manian
aa8e548800
To be effective within the current Bitcoin network, the inputs to a transaction
with an nLocktime must be not the standard max value.
We set the sequence number of 0 if the value is max.
Currently sequence numbers other than MAX_INT32 have no meaning in the Bitcoin protocol
but this may change in future BIPS
10 years ago
Braydon Fuller
d7cd12b9d6
Merge pull request #1322 from ryanxcharles/fix-web-workers
fix web worker issues
10 years ago
Ryan X. Charles
c1087c2827
fix web worker issues
bitcore should be able to run inside a web worker. There were two minor issues
preventing bitcore from running inside a web worker. The first was that lodash
was outdated, and that version of lodash had a problem with web workers. The
second was that the wrong version of ripemd160 was being called, because
global.window does not exist inside a web worker (global.self does instead). A
better way to check if you are in a browser is with process.browser.
10 years ago
Braydon Fuller
aba78f92ba
Bump version to 0.13 in documentation.
10 years ago
Braydon Fuller
abefde6d83
Bump package version to 0.13.0
10 years ago
Patrick Nagurny
095cf32966
Merge pull request #1317 from braydonf/hdpubkey-hardened-error
Restore error when trying to derive a hardened path with HDPublicKey.
10 years ago
Patrick Nagurny
6d93e002d5
Merge pull request #1319 from braydonf/contrib
Include community website links in CONTRIBUTING.
10 years ago
Braydon Fuller
90a4f6460a
Include community website links in CONTRIBUTING.
10 years ago
Braydon Fuller
809ff1461e
Restore error when trying to derive a hardened path with HDPublicKey.
- Restores InvalidIndexCantDeriveHardened error in spec
- Passes hardened argument in HDPublicKey (in case the feature is attempted to be used similarly to HDPrivateKey)
- Fixes undefined error with InvalidLength
- Fixes tests to check for the error type
- Various formatting cleanup improvements
10 years ago
Patrick Nagurny
9960c3b31f
Merge pull request #1312 from braydonf/standardizetojson
Changes behavior of `toJSON` to work as expected with `JSON.stringify`
10 years ago
Braydon Fuller
e64581e4eb
Update documentation with API changes for toJSON.
10 years ago
Braydon Fuller
a50fccef4d
Changes behavior of `toJSON` to work as expected with `JSON.stringify`
- see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify#toJSON%28%29_behavior
- Updates CONTRIBUTING with changes to Stardard Methods
- Aliases toJSON for toObject
- Removes all `fromJSON` methods, and many cases replaces with `fromObject`
- Constructors expect an object parsed via `JSON.parse` for JSON input
10 years ago
Patrick Nagurny
79db9cc372
Merge pull request #1311 from braydonf/tojsonhashes
Include hash in toObject/toJSON results.
10 years ago
Braydon Fuller
496edf9109
Check for consitency with block header argument hash and calculated hash.
10 years ago
Braydon Fuller
e7c7a9ad89
Check for consistency if object argument includes a hash.
10 years ago
Braydon Fuller
be8cb7d245
Update json block test data.
10 years ago
Braydon Fuller
74dee1fda7
Include hash in toObject/toJSON results.
10 years ago
Braydon Fuller
b7880ea568
Bump package version to 0.12.15
10 years ago
Patrick Nagurny
9c30e96d9c
Merge pull request #1302 from braydonf/formatting
Fixes for various formatting issues and typos.
10 years ago
Patrick Nagurny
7c6df33ab7
Merge pull request #1301 from braydonf/pubkey
Added support for signing publickey inputs.
10 years ago
Patrick Nagurny
a8b78a2f3f
Merge pull request #1295 from braydonf/script-asm
Add script methods `fromASM()` and `toASM()`
10 years ago
Patrick Nagurny
0dec8e7bd8
Merge pull request #1294 from braydonf/tx-unmodified-arguments
Objects passed as arguments are unmodified.
10 years ago
Patrick Nagurny
6ac7ad9da1
Merge pull request #1293 from braydonf/script-data-encoding
Added encoding type for buildDataOut
10 years ago
Braydon Fuller
8ff26bb260
Fixes for various formatting issues and typos.
10 years ago