dash/test/util/data
MarcoFalke 59ae41853b Merge #14307: Consolidate redundant implementations of ParseHashStr
9c5af58d51 Consolidate redundant implementations of ParseHashStr (Ben Woosley)

Pull request description:

  This change:
  * adds a length check to all calls to `ParseHashStr`, appropriate given its use to populate
    a 256-bit number from a hex str
  * allows the caller to handle the failure, which allows for the more
    appropriate `JSONRPCError` on failure in `prioritisetransaction` rpc

  Relative to #14288

Tree-SHA512: baa791147e5ceb3c30c70df3981aaf807bf7d4a90a0be3625540b59aa4b9a9d303a452bfef18bf167cbb833ef9591b4ef5948bf4a1ce67b421d804ae8d20ea53
2021-08-04 00:25:04 -03:00
..
bitcoin-util-test.json Merge #14307: Consolidate redundant implementations of ParseHashStr 2021-08-04 00:25:04 -03:00
blanktxv1.hex Merge bitcoin#9956: Reorganise qa directory (#2912) 2019-05-19 23:20:34 +03:00
blanktxv1.json Add missing tx type to TxToUniv (#3069) 2019-08-28 10:54:44 +03:00
blanktxv2.hex Merge bitcoin#9956: Reorganise qa directory (#2912) 2019-05-19 23:20:34 +03:00
blanktxv2.json Add missing tx type to TxToUniv (#3069) 2019-08-28 10:54:44 +03:00
tt-delin1-out.hex Merge bitcoin#9956: Reorganise qa directory (#2912) 2019-05-19 23:20:34 +03:00
tt-delin1-out.json Merge #11420: Bump univalue subtree and fix json formatting in tests 2020-01-12 17:01:40 -06:00
tt-delout1-out.hex Merge bitcoin#9956: Reorganise qa directory (#2912) 2019-05-19 23:20:34 +03:00
tt-delout1-out.json Merge #11420: Bump univalue subtree and fix json formatting in tests 2020-01-12 17:01:40 -06:00
tt-locktime317000-out.hex Merge bitcoin#9956: Reorganise qa directory (#2912) 2019-05-19 23:20:34 +03:00
tt-locktime317000-out.json Merge #11420: Bump univalue subtree and fix json formatting in tests 2020-01-12 17:01:40 -06:00
tx394b54bb.hex Merge bitcoin#9956: Reorganise qa directory (#2912) 2019-05-19 23:20:34 +03:00
txcreate1.hex Merge bitcoin#9956: Reorganise qa directory (#2912) 2019-05-19 23:20:34 +03:00
txcreate1.json Merge #11420: Bump univalue subtree and fix json formatting in tests 2020-01-12 17:01:40 -06:00
txcreate2.hex Merge bitcoin#9956: Reorganise qa directory (#2912) 2019-05-19 23:20:34 +03:00
txcreate2.json Add missing tx type to TxToUniv (#3069) 2019-08-28 10:54:44 +03:00
txcreatedata1.hex Merge bitcoin#9956: Reorganise qa directory (#2912) 2019-05-19 23:20:34 +03:00
txcreatedata1.json Merge #11420: Bump univalue subtree and fix json formatting in tests 2020-01-12 17:01:40 -06:00
txcreatedata2.hex Merge bitcoin#9956: Reorganise qa directory (#2912) 2019-05-19 23:20:34 +03:00
txcreatedata2.json Merge #11420: Bump univalue subtree and fix json formatting in tests 2020-01-12 17:01:40 -06:00
txcreatedata_seq0.hex Merge bitcoin#9956: Reorganise qa directory (#2912) 2019-05-19 23:20:34 +03:00
txcreatedata_seq0.json Add missing tx type to TxToUniv (#3069) 2019-08-28 10:54:44 +03:00
txcreatedata_seq1.hex Merge bitcoin#9956: Reorganise qa directory (#2912) 2019-05-19 23:20:34 +03:00
txcreatedata_seq1.json Merge #11420: Bump univalue subtree and fix json formatting in tests 2020-01-12 17:01:40 -06:00
txcreatemultisig1.hex Merge bitcoin#9956: Reorganise qa directory (#2912) 2019-05-19 23:20:34 +03:00
txcreatemultisig1.json Merge #11420: Bump univalue subtree and fix json formatting in tests 2020-01-12 17:01:40 -06:00
txcreatemultisig2.hex Merge bitcoin#9956: Reorganise qa directory (#2912) 2019-05-19 23:20:34 +03:00
txcreatemultisig2.json Add missing tx type to TxToUniv (#3069) 2019-08-28 10:54:44 +03:00
txcreateoutpubkey1.hex Merge bitcoin#9956: Reorganise qa directory (#2912) 2019-05-19 23:20:34 +03:00
txcreateoutpubkey1.json Add missing tx type to TxToUniv (#3069) 2019-08-28 10:54:44 +03:00
txcreatescript1.hex Merge bitcoin#9956: Reorganise qa directory (#2912) 2019-05-19 23:20:34 +03:00
txcreatescript1.json Add missing tx type to TxToUniv (#3069) 2019-08-28 10:54:44 +03:00
txcreatescript2.hex Merge bitcoin#9956: Reorganise qa directory (#2912) 2019-05-19 23:20:34 +03:00
txcreatescript2.json Add missing tx type to TxToUniv (#3069) 2019-08-28 10:54:44 +03:00
txcreatesignv1.hex Merge #13666: Always create signatures with Low R values 2021-07-06 20:29:32 +03:00
txcreatesignv1.json Merge #13666: Always create signatures with Low R values 2021-07-06 20:29:32 +03:00
txcreatesignv2.hex Merge bitcoin#9956: Reorganise qa directory (#2912) 2019-05-19 23:20:34 +03:00