Commit Graph

  • 035ec47868 Better test vectors for witness serialization (available on testnet) Thomas Kerin 2016-11-05 20:52:49 +0100
  • c1d6a5c0d7 add witness core transaction tests, re-ordered to be testable Daniel Cousens 2016-11-08 09:20:12 +1100
  • fb6f157e8c tests/core: remove unverifiable tests Daniel Cousens 2016-11-08 11:25:47 +1100
  • b60882a85e tests: fromBuffer/toBuffer, import export each set of fixtures Daniel Cousens 2016-11-04 11:59:00 +1100
  • 5c2fdb6043 Transaction: add Witness serialization and hashForWitnessV0 Daniel Cousens 2016-07-14 19:50:35 +1000
  • e8b00d63d6 tests: add minimall encoded 0-length buffer fixture Daniel Cousens 2016-11-14 11:11:19 +1100
  • 3734cdefd5 Make fund_ examples use the transaction signer :P solve-witness-signer Thomas Kerin 2016-11-12 20:14:07 +0100
  • b27b72d775 examples Thomas Kerin 2016-11-12 19:26:26 +0100
  • b0bda2e3f2 Should allow restoring all state if given scriptPubKey / redeemScript / witnessScript Thomas Kerin 2016-11-12 19:26:21 +0100
  • 244c3d4f18 scripthash.input.check / decode: allow situation where chunks length ==1, and don't attempt to classifyInput if witness Thomas Kerin 2016-11-12 19:25:51 +0100
  • fdcd277ba9 expose signer through TxSigner Thomas Kerin 2016-11-12 18:35:17 +0100
  • 155c9afe05 remove redundant copy of solveScript Thomas Kerin 2016-11-12 18:23:44 +0100
  • 3a03691b7d move & rename anything to do with signable_scripts Thomas Kerin 2016-11-12 18:18:08 +0100
  • b09cf89f97 extractSigs - verify pubKey & pubKeyHash purported public keys, plus a round of comments Thomas Kerin 2016-11-12 18:01:54 +0100
  • c215f350fc Make it clearer what solve aims to find, and make remove branches from sign Thomas Kerin 2016-11-12 17:49:59 +0100
  • c3ed014488 Avoids code duplication by deriving sigVersion / solution for the necessary step Thomas Kerin 2016-11-12 17:32:26 +0100
  • 09bdc1deee SerializeSigData: operations on arrays before final pushAll (scriptSig) Thomas Kerin 2016-11-12 17:16:57 +0100
  • c60a6418b5 working again Thomas Kerin 2016-11-12 17:10:53 +0100
  • 9d766df519 bleh, rushed commit Thomas Kerin 2016-11-12 15:45:59 +0100
  • c0bbd76ad0 example for solveOutput, also checks every sigHash test vector Thomas Kerin 2016-11-12 15:26:53 +0100
  • 78faaddf4d remove SIGNABLE_TYPES and P2SH_scripts Thomas Kerin 2016-11-10 10:12:18 +0100
  • ffca5afcff Solve Output: take an output script, returns {type, script, solvedBy, requiredSigs, canSign} Thomas Kerin 2016-11-09 17:13:14 +0100
  • aeeee4f3ec TransactionBuilder: move ABSURD_FEE to a constructor parameter Daniel Cousens 2016-11-12 13:19:11 +1100
  • 61be897429 TransactionBuilder: move ABSURD_FEERATE to static constant Daniel Cousens 2016-11-12 13:10:17 +1100
  • f0db59fa8e tests: amend TransactionBuilder fixture to have non-absurd fee rate Daniel Cousens 2016-11-12 13:09:16 +1100
  • 62389ed247 TransactionBuilder: change to ABSURD_FEERATE, not ABSURD_FEE Daniel Cousens 2016-11-12 13:08:10 +1100
  • e835f1fe95 TransactionBuilder: add fee safety Daniel Cousens 2016-11-09 13:01:29 +1100
  • dd649867f6 Update vectors with value of UTXO Thomas Kerin 2016-11-09 20:20:16 +0100
  • fe5be931a4 test/fixtures/transaction.json Thomas Kerin 2016-11-09 19:39:39 +0100
  • 8ae194ab9c transaction: hashForWitnessV0 s/amount/value Daniel Cousens 2016-11-09 12:30:06 +1100
  • bdf6a9d458 Transaction: initialize to ZERO earlier Daniel Cousens 2016-11-09 11:54:17 +1100
  • 20577d42f2 tests: add assertion for witness default to EMPTY_WITNESS Daniel Cousens 2016-11-09 12:12:20 +1100
  • 4c68cd9a5a Test that parsing a transaction with superfluous witness data leads to an error Thomas Kerin 2016-11-08 13:43:45 +0100
  • b00d26d557 Better test vectors for witness serialization (available on testnet) Thomas Kerin 2016-11-05 20:52:49 +0100
  • dfae2be165 add witness core transaction tests, re-ordered to be testable Daniel Cousens 2016-11-08 09:20:12 +1100
  • 239e632912 tests/core: remove unverifiable tests Daniel Cousens 2016-11-08 11:25:47 +1100
  • 4521f3d4c1 tests: fromBuffer/toBuffer, import export each set of fixtures Daniel Cousens 2016-11-04 11:59:00 +1100
  • 7fb5259233 Transaction: add Witness serialization and hashForWitnessV0 Daniel Cousens 2016-07-14 19:50:35 +1000
  • 11079bfafb tests: use hardcoded fixture instead of relying on fixture[0] Daniel Cousens 2016-11-09 12:06:47 +1100
  • b5e46c2931 Replace script type strings with constants Thomas Kerin 2016-10-27 11:05:45 +0200
  • 9db9763221 tests: add script.*.*.decode tests Daniel Cousens 2016-11-02 14:53:09 +1100
  • 0c67f5e585 templates: add toJSON for clearer error message Daniel Cousens 2016-11-02 14:33:46 +1100
  • ce5babde83 templates: fix nullData return value Daniel Cousens 2016-11-02 14:24:31 +1100
  • 69d8e9ed9e move templates to templates/index.js Daniel Cousens 2016-11-02 14:11:55 +1100
  • 39897cacd5 integration: update to new script encode/decode Daniel Cousens 2016-11-02 14:09:25 +1100
  • a5e65ab977 tests: remove tests for missing witnessScriptHash.input.encode Daniel Cousens 2016-11-02 13:46:41 +1100
  • d9fa39a2cc scripts: extract all scripts to encode/decode/check style Daniel Cousens 2016-11-02 12:30:37 +1100
  • 27b48e8aa2 Add methods to decode information from output scripts Thomas Kerin 2016-11-01 16:06:01 +0100
  • 53f08a7569 Script: add function for parsing multisig type scripts Thomas Kerin 2016-10-27 13:32:51 +0200
  • 405c005802 tests: rename description to path Daniel Cousens 2016-10-21 13:39:28 +1100
  • 0b3a042ca2 HDNode: simplify path derivation Daniel Cousens 2016-10-21 13:34:26 +1100
  • 1247061d05 tests: v.depth was added to fixtures Daniel Cousens 2016-10-21 13:32:18 +1100
  • 5e2e72dd7a tests: add leading zero test fixture Daniel Cousens 2016-10-21 13:25:25 +1100
  • b03ce64698 tests: add leading zero HDNode fixture per #673 Daniel Cousens 2016-10-21 12:48:10 +1100
  • 04a227fab1 tests: rework HDNode tests, consistent *Base58 usage, check index/depth too Daniel Cousens 2016-10-21 12:47:54 +1100
  • 7f77357c12 tests: rm unused data, re-add missing tests Daniel Cousens 2016-10-21 11:49:50 +1100
  • 177f4c8f67 README: add coinselect and minimaldata Daniel Cousens 2016-10-21 15:22:28 +1100
  • 8118823cb3 README: add merkle-lib Daniel Cousens 2016-10-21 15:21:02 +1100
  • 314efe07ee README: remove bip32-wallet Daniel Cousens 2016-10-21 15:20:37 +1100
  • a956b8859f networks: drop dogecoin and dustThreshold Daniel Cousens 2016-10-21 12:29:42 +1100
  • 078318094d test: include derivation test when private key has leading zeros Braydon Fuller 2016-10-19 23:06:39 -0400
  • 4faa0ce679 _blockchain: a social experiment Daniel Cousens 2016-10-18 16:21:45 +1100
  • 1f66b9e3d8 HDNode: add comment about Q.compressed assumption Daniel Cousens 2016-10-18 16:06:00 +1100
  • 6067220cba Remove redundant check for uncompressed public key Thomas Kerin 2016-10-14 20:07:52 +0200
  • ddedb574a3 hdnode: add test cases exercising fromBuffer Thomas Kerin 2016-10-14 20:04:14 +0200
  • 72968a2e87 Add npm script for HTML coverage reports Thomas Kerin 2016-10-14 20:03:54 +0200
  • b14abac4a1 HDNode: remove HDNode.toString for safety Daniel Cousens 2016-10-13 23:22:21 +1100
  • 8ec0ce1552 travis: no need for before_install Daniel Cousens 2016-10-14 11:20:11 +1100
  • b65e47bbae integration: break up into more re-usable unspents Daniel Cousens 2016-10-13 17:33:55 +1100
  • 52bcfe72be integration: return funds to our faucet Daniel Cousens 2016-10-13 17:12:08 +1100
  • 809e23f550 package: remove unused dependency Daniel Cousens 2016-10-13 17:06:26 +1100
  • e10a23fb3e integration: avoid multiple faucet calls Daniel Cousens 2016-10-13 17:01:08 +1100
  • ebaf1496e1 tests/integration: use our own faucet keyPair Daniel Cousens 2016-10-12 14:31:41 +1100
  • 7b1167708a Transaction and block versions are signed integers Thomas Kerin 2016-10-12 16:04:03 +0200
  • 3de754a9a2 TransactionBuilder: remove hashTypes inconsistency issues, resolves #642 Daniel Cousens 2016-10-12 12:53:51 +1100
  • 30ba4d620b tests: add failing TransactionBuilder multiple hash types test Daniel Cousens 2016-10-12 13:05:52 +1100
  • f07ccabe6e tests: flatten construct function Daniel Cousens 2016-10-12 12:47:54 +1100
  • 9dcf4d4b8b TransactionBuilder: add note why fixMultisigOrder is separate Daniel Cousens 2016-10-12 12:17:19 +1100
  • 7059b177eb TransactionBuilder: re-order in order of usage Daniel Cousens 2016-10-12 12:15:13 +1100
  • 6056e7913e TransactionBuilder: fixMultisigOrder only works if a redeemScript exists Daniel Cousens 2016-10-12 12:13:27 +1100
  • 1ff64d207e TransactionBuilder: flatten prepareInput P2SH detection Daniel Cousens 2016-10-12 12:13:02 +1100
  • a58c959099 TransactionBuilder: localize fixMultisigOrder assumptions Daniel Cousens 2016-10-12 12:04:45 +1100
  • 0e2480523a TransactionBuilder: expandInput, consistent variable names Daniel Cousens 2016-10-12 11:58:03 +1100
  • f3cc71a75f TransactionBuilder: simplify buildInput logic Daniel Cousens 2016-10-12 11:11:15 +1100
  • 090b8177d1 TransactionBuilder: flatten inconsistency checks Daniel Cousens 2016-10-12 10:52:33 +1100
  • 088f08020e travis: remove unsupported iojs Daniel Cousens 2016-10-12 13:15:13 +1100
  • 5dcf38c0c5 HDNode: clearer error for bad path type Daniel Cousens 2016-10-10 13:34:40 +1100
  • 9f1ebf72a6 types: remove unused UInt2, BIP32 is capitals Daniel Cousens 2016-10-10 13:29:43 +1100
  • 3504ccfa3c tests: test what was removed in #460 Daniel Cousens 2016-10-10 13:01:51 +1100
  • d27a305732 package: npm test should run coverage too Daniel Cousens 2016-10-10 12:20:48 +1100
  • 4ee298c414 block: add type checking Daniel Cousens 2016-10-08 12:08:07 +1100
  • dd4596a44a block: use merkle-lib instead of inline calculation Daniel Cousens 2016-10-07 17:03:12 +1100
  • 3bff2c63af transaction: simplify toBuffer offset management Daniel Cousens 2016-10-09 22:53:41 +1100
  • f7b2fdfe60 TransactionBuilder: avoid input mutation until after exception possibility Daniel Cousens 2016-10-06 20:31:44 +1100
  • 17377381c4 TransactionBuilder: if prevOutScript is defined, but not signable, try 1 last time Daniel Cousens 2016-10-06 13:18:14 +1100
  • aaa327b793 seperate coverage into a seperate travis task. run coverage and standards using node v6. Ruben de Vries 2016-10-07 15:32:17 +0200
  • 45b0e35264 transaction/types: use Satoshi over UInt53 Daniel Cousens 2016-10-07 12:31:02 +1100
  • ecc6d45a7e types: add Satoshi Daniel Cousens 2016-09-27 13:54:03 +1000
  • f4ebe20687 package: rm prepublish Daniel Cousens 2016-10-07 11:57:17 +1100
  • 42c716138f Merge pull request #651 from bitcoinjs/tests Daniel Cousens 2016-10-07 11:54:07 +1100