Commit Graph
68 Commits
Author SHA1 Message Date
Scott Sadler 8a29624f4c remove stray printf 2018-04-09 12:36:43 -03:00
Scott Sadler fde202ff64 Merge remote-tracking branch 'james/dev' into cryptoconditions 2018-04-09 11:53:48 -03:00
Scott Sadler 8a8e10f02f cleanups 2018-04-09 11:53:13 -03:00
Scott Sadler e36af93bab update cryptoconditions 2018-04-07 21:46:29 -03:00
Scott Sadler 39c9911e9c change Eval data structure to single code blob 2018-04-07 18:07:52 -03:00
Scott Sadler 4729632250 * make interface for getting tx safer in Eval
* restrict lengths in cryptoconditions to avoid ridiculous situations
2018-04-06 14:35:46 -03:00
Scott Sadler 56cf273faf various tweaks, combine payloads in ImportTx 2018-04-06 13:37:56 -03:00
Scott Sadler aa9eec4522 make log messages more useful 2018-04-06 03:59:03 -03:00
Scott Sadler 9bf132a5a8 tests for getting MoM in Eval and fixes 2018-04-06 03:52:30 -03:00
Scott Sadler e625be68a9 allow larger PUSHDATA for CC fulfillment 2018-04-06 02:55:47 -03:00
Scott Sadler 561f3e18c1 tests for bet protocol done; verify notarisation still to test 2018-04-05 05:06:22 -03:00
Scott Sadler 92df780015 Merge remote-tracking branch 'james/dev' into cryptoconditions 2018-04-03 14:43:19 -03:00
Scott Sadler 375927407b betprotocol functions 2018-04-03 04:48:24 -03:00
Scott Sadler 660b32c300 cryptoconditions functions to create conditions 2018-04-02 20:44:10 -03:00
Scott Sadler 4c121ffdb0 cpp test suite for cryptoconditions integration 2018-04-01 21:18:01 -03:00
Scott Sadler 563581aff4 many changes: * fix CC malleability * extra validations for CCs such as requiring a signature and limiting types * different SIGHASH types for CC 2018-03-31 23:20:03 -03:00
Scott Sadler 9ef101bc21 mock up DisputePayout 2018-03-30 17:20:02 -03:00
Scott Sadler 2c8d8268dd ImportPayout cc eval code and alot of general cc polish. tests to write 2018-03-30 15:46:41 -03:00
Scott Sadler 991c422a9d fix CC 2018-03-28 15:02:20 -03:00
Scott Sadler 9e74de25fc merge jl777/dev; zcash upgrade, CC to fix 2018-03-26 20:07:32 -03:00
Scott Sadler 51aad18733 remove replacementpool 2018-03-26 16:21:33 -03:00
Scott Sadler 49cd4daab2 cryptoconditions secp256k1 tests canonical signature 2018-03-17 23:09:14 -03:00
Scott Sadler aaff5dd10c explicitly disable replacementpool if cryptoconditions is not enabled 2018-03-17 15:13:10 -03:00
Scott Sadler 83b8f972f2 Merge remote-tracking branch 'jl777/dev' into cryptoconditions 2018-03-16 23:03:27 -03:00
Scott Sadler 91fe980a98 fix cryptoconditions qa 2018-03-12 18:22:38 -03:00
Scott Sadler c6fa342bd6 no more cryptoconditions submodule 2018-03-12 17:57:18 -03:00
Scott Sadler 76b5216cf6 remove cryptoconditions submodule 2018-03-12 17:54:30 -03:00
Scott Sadler bd7ecdec06 fix build, allow 0 priority 2018-03-12 17:27:50 -03:00
Scott Sadler a8acafb354 test suite for replacementPool 2018-03-12 01:57:35 -03:00
Scott Sadler 346eb4ae25 small refactor 2018-03-09 09:40:31 -03:00
Scott Sadler 1fe68cf52a process orphan transactions after processing replacements 2018-03-08 23:01:00 -03:00
Scott Sadler e102037e61 cleanup transaction replacement return codes 2018-03-08 16:35:39 -03:00
Scott Sadler 2b2c75de29 basic implementation of transaction replacement. requires cleanup and testing 2018-03-08 15:15:01 -03:00
Scott Sadler b21d2e0f9d gitignore binaries 2018-03-08 13:08:37 -03:00
Scott Sadler 80ea0d26b0 latest cryptoconditions 2018-02-26 02:10:58 -03:00
Scott Sadler 28658719ea tweak hoek interface 2018-02-25 16:22:12 -03:00
Scott Sadler 7d937f290e add secp256k1 condition type to cryptoconditions 2018-02-24 19:43:37 -03:00
Scott Sadler 46d1bcc607 integration test for complex aux condition 2018-02-22 01:43:43 -03:00
Scott Sadler db2df2c37b integration test for basic aux condition 2018-02-22 00:59:15 -03:00
Scott Sadler 691b8708f1 Komodo CC aux callback has access to transaction via checker 2018-02-21 19:28:52 -03:00
Scott Sadler 73b9e32b9d update to latest libcryptoconditions 2018-02-21 14:10:42 -03:00
Scott Sadler 85b55ada89 use public github url 2018-02-19 21:13:05 -03:00
Scott Sadler 2c4dd33db7 Merge branch 'cryptoconditions' of github.com:libscott/komodo into cryptoconditions 2018-02-19 21:09:50 -03:00
Scott Sadler fbc955c493 use public github submodule url 2018-02-19 20:45:11 -03:00
Scott Sadler f5cf215f71 extra tests for failure modes and remove CRYPTOCONDITION_OVERSIZE error state 2018-02-19 18:24:12 -03:00
Scott Sadler 456c9e72fd simplify CC tests 2018-02-19 15:39:05 -03:00
Scott Sadler 82e6c35430 test with invalid crypto-condition fulfillment 2018-02-19 15:16:14 -03:00
Scott Sadler d17b8ec6a2 use a fanout tx to create inputs 2018-02-19 03:22:26 -03:00
Scott Sadler 4f0da23b91 integration test for hoek and komodod with -ac_cc 2018-02-19 01:22:27 -03:00
Scott Sadler 5a2999e228 Merge branch 'cryptoconditions' of github.com:libscott/komodo into cryptoconditions 2018-02-18 21:49:58 -03:00
Scott Sadler 33c35a949d remove test file that shoudnt be there 2018-02-18 21:48:58 -03:00
Scott Sadler 656fa68d13 guard cryptoconditions 2018-02-18 20:40:24 -03:00
Scott Sadler 6263d40239 guard cryptoconditions 2018-02-18 20:38:29 -03:00
Scott Sadler 28b946127b make IsPayToCryptoCondition neat 2018-02-18 19:35:48 -03:00
Scott Sadler 5a7cc8287b Merge remote-tracking branch 'origin/dev' into cryptoconditions 2018-02-18 19:25:52 -03:00
Scott Sadler 5b383ba7f4 enable cryptoconditions spending 2018-02-18 18:49:04 -03:00
Scott Sadler a99ca25a5a cryptocondition transaction is standard too 2018-02-17 02:03:34 -03:00
Scott Sadler a01d0f5672 remove rpc crypto conditions 2018-02-16 14:24:38 -03:00
Scott Sadler 6e821110fd auxiliary cryptoconditions 2018-02-06 18:37:08 -03:00
Scott Sadler 63d3e4aab1 add isFulfulled to cryptoconditions 2018-01-23 14:12:43 -03:00
Scott Sadler 6585a02268 cli method to create CC transaction 2018-01-23 14:05:43 -03:00
Scott Sadler d430a5e8ca upgrade cJSON and move customizations to komodo_cJSON 2017-10-23 09:55:37 -07:00
Scott Sadler 2356884c5f function to create a cryptocondition from a Univalue 2017-10-22 23:27:44 -07:00
Scott Sadler 8fa1b4be0e upgrade cJSON and move cJSON extensions to different module 2017-10-22 21:57:07 -07:00
Scott Sadler 342611f932 add rpccryptoconditions 2017-10-21 23:23:57 -07:00
Scott Sadler a032ddea1f configure.ac must not include cryptoconditions in AC_CONFIG_SUBDIRS because that disables shared linking. cryptoconditions must not include config.h because that includes conflicting variables. 2017-10-21 17:54:17 -07:00
Scott Sadler 2b67565e51 update cryptoconditions module ref 2017-10-20 23:44:45 -07:00
Scott Sadler 07f83521f7 basic integration of cryptoconditions 2017-10-19 14:08:32 -07:00