Commit Graph
100 Commits
Author SHA1 Message Date
Scott Sadler f51c4d4716 check many MoMoMs on tx import 2018-11-01 10:12:18 +01:00
Scott Sadler 9325760595 fix for TXSCL data leak 2018-09-06 04:18:44 -03:00
Scott Sadler a839f9bc02 shell script to document migrate process 2018-09-06 04:18:44 -03:00
Scott Sadler 52ff32a564 put burntx opreturn at end of vout and fix crash with import tx 2018-09-06 04:18:44 -03:00
Scott Sadler 062b770927 bugfix; seen members not zeroed 2018-09-06 00:14:45 -03:00
Scott Sadler 040078433f fix outrageous typo 2018-09-05 00:27:06 -03:00
Scott Sadler 64a4efaa70 put clarifying comment 2018-09-05 00:22:38 -03:00
Scott Sadler 538de2ee49 multiple authorities 2018-09-05 00:19:12 -03:00
Scott Sadler cbb1422656 fix for TXSCL data leak 2018-09-04 17:12:04 -03:00
Scott Sadler 96ac747dcd shell script to document migrate process 2018-09-04 06:05:26 -03:00
Scott Sadler 4d6cd59768 put burntx opreturn at end of vout and fix crash with import tx 2018-09-04 05:29:36 -03:00
Scott Sadler 292a9a717b RPC methods to scan notarisations DB 2018-08-25 22:45:49 -03:00
Scott Sadler 0af81154e3 fix crash #1 on osx 2018-08-17 13:24:32 -03:00
Scott Sadler 79887a0987 replace malloc in CC with calloc 2018-08-16 18:52:04 -03:00
Scott Sadler 0f4a3ceaa9 ac_cc under 1000 is not fungible 2018-07-26 16:06:01 -03:00
Scott Sadler 446265cc5f fix for invalid lambda cast in CCcustom 2018-07-25 12:10:33 -03:00
Scott Sadler 7efaea1895 two fixes for eval.h, so it compiles on older gcc and prevent an overflow 2018-06-27 20:32:50 -03:00
Scott Sadler 45acf7d462 Merge remote-tracking branch 'jl/jl777' into momo 2018-06-19 20:50:56 -03:00
Scott Sadler 87d08c5a45 some comments 2018-06-19 20:39:04 -03:00
Scott Sadler 469bd6378f fix momom generation to inclusive or exclusive of whole blocks 2018-06-19 12:45:42 -03:00
Scott Sadler 36f8002f93 fix GetNextBacknotarisation 2018-06-17 17:20:20 -03:00
Scott Sadler 84964112be move disconnect notarisations from DisconnectBlock to DisconnectTip 2018-06-16 12:05:22 -03:00
Scott Sadler 7f3cc8a296 create function to query notarisations leveldb by height 2018-06-14 08:35:53 -03:00
Scott Sadler 846384769c log notarisations written to index 2018-06-11 17:29:16 +02:00
Scott Sadler 89cfc4272d fixes for import coin 2018-06-10 15:12:10 +02:00
Scott Sadler 7776d00b9a fix MoMdepth in crosschain.cpp 2018-06-03 13:22:00 -03:00
Scott Sadler 8fef386be9 Merge remote-tracking branch 'jl/dev' into momo 2018-06-02 16:13:53 -03:00
Scott Sadler fe727b9d92 zero members in notarisationdata 2018-06-02 16:13:21 -03:00
Scott Sadler 379e23fcec allow TXSCL notarisations without notary inputs 2018-05-31 15:19:46 -03:00
Scott Sadler c3aa599831 Merge remote-tracking branch 'jl/dev' into momo 2018-05-30 21:34:07 -03:00
Scott Sadler 91d929221c update ccid location in notarisation data 2018-05-30 21:25:44 -03:00
Scott Sadler c7bcf05da4 fix MoM hash calculation 2018-05-30 18:12:05 -03:00
Scott Sadler 81389fc7b4 merge dev; tests broken, need to use wallet for block rewards 2018-05-29 19:04:47 -03:00
Scott Sadler 69c67b5117 disconnect notarisations 2018-05-28 23:31:42 -03:00
Scott Sadler 0ffacf04dc take care of some TODOs 2018-05-28 21:02:34 -03:00
Scott Sadler f84a323950 log notarisation parse errors to file 2018-05-28 20:48:56 -03:00
Scott Sadler 3fdb378291 workaround for assetchain mining blocks in regtest mode 2018-05-28 17:53:49 -03:00
Scott Sadler f937f44e10 detect backnotarisation by KMD symbol 2018-05-27 11:03:38 -03:00
Scott Sadler 9de5ae87cf remove workaround for tests 2018-05-26 13:18:20 -03:00
Scott Sadler a748b1a26d recognize btc backnotarisations and include ccid in MoMoMdata rpc 2018-05-25 14:47:54 -03:00
Scott Sadler 0b485d3c66 rpc methods for cross chain transactions 2018-05-22 15:16:37 -03:00
Scott Sadler 0df96a2f06 fix all tests 2018-05-20 01:27:31 -03:00
Scott Sadler b6ef9c089a fix broken test case 2018-05-19 12:56:48 -03:00
Scott Sadler e4f943d86d cross chain rpc methods 2018-05-18 19:29:33 -03:00
Scott Sadler 06c960d2b7 m3 test proven 2018-05-15 22:27:10 -03:00
Scott Sadler 20c3ac51c2 wip 2018-05-09 16:17:28 -03:00
Scott Sadler 3c7604133e tombstone for import 2018-04-29 00:37:22 -03:00
Scott Sadler 0cb91a8d20 wip 2018-04-29 00:34:57 -03:00
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