Commit Graph

226 Commits

Author SHA1 Message Date
matt c1699840ba Fix DID wallet and DID innerpuz 2021-05-28 17:00:52 +01:00
matt 3ae6324b84 remove unused "and" definition 2021-05-27 17:06:05 +01:00
matt eaf6d38854 rename my_puzhash to destination_puzhash 2021-05-27 14:42:42 +01:00
Richard Kiss 0e931d0cbe Formatting and non-destructive renaming. 2021-05-26 21:29:41 -07:00
Richard Kiss b287fccc21 Rewrite lifecycle tests faster; fix `debug_spend_bundle`. 2021-05-26 20:47:19 -07:00
matt b73da63c05 reordered the truths so coin related ones come first 2021-05-26 17:09:40 +01:00
matt 0e9805f2eb Added launcher puzzle hash as a truth 2021-05-26 15:02:39 +01:00
matt 352a8e2ae8 remove debug strings from (x) 2021-05-26 14:44:55 +01:00
Richard Kiss acf1b6fb4d Make the two pool puzzles more similar. 2021-05-26 00:09:02 -07:00
Richard Kiss e7b069a1ab Improve some names. 2021-05-25 23:04:12 -07:00
Richard Kiss def111926f Some inlining, optimizing `pool_*.clvm`. 2021-05-25 19:19:40 -07:00
matt 232e24323d added more truths 2021-05-25 21:23:42 +01:00
Richard Kiss effa92eec1 Curry in `LAUNCHER_PUZZLE_HASH`. 2021-05-25 12:10:51 -07:00
Richard Kiss f30329d7ef Rename some stuff. 2021-05-25 12:08:29 -07:00
Richard Kiss cb0da59371 Use alternative inner loop. 2021-05-25 12:08:28 -07:00
Richard Kiss ecb9b0b58a Use "curry-and-treehash.clinc". 2021-05-25 12:05:54 -07:00
matt af46d3bb7e rewrite did wallet and did innerpuz
first few tests are passing
2021-05-25 14:26:34 +01:00
matt cd647affb0 Added clarifying comments and renamed some functions 2021-05-24 17:23:56 +01:00
matt ed947837c9 Un-flip output list
Fix test for this list
Add delayed puzzle clvm
2021-05-24 15:18:29 +01:00
matt 4a29e316b1 Remove unnecessary checks from singleton_top_layer 2021-05-24 13:41:34 +01:00
matt 33a1035842 fix typos in truth passing 2021-05-24 12:50:37 +01:00
matt 476f69d48d pass all parent info in as a "truth" 2021-05-21 18:13:09 +01:00
matt 18632f5395 add extra truths passed in to singleton and adjust innerpuzzles 2021-05-21 17:02:59 +01:00
matt 2432e51f0e Remove unnecessary mod_hash_hash
Fix bug in p2_singleton assert_my_coin_id
2021-05-21 14:54:30 +01:00
matt c73e6be5fa add extra_data field to pool innerpuzzes
remove debug prints from (x) in top_layer
2021-05-21 14:18:54 +01:00
matt aa0b2bcf79 fix bug and comment 2021-05-20 19:49:05 +01:00
matt a6d4a7a3d0 remove unused function 2021-05-20 15:18:20 +01:00
matt 63bbb3a7e4 added auto-wrapping and exactly one odd output checks 2021-05-19 17:43:12 +01:00
matt df5dde3b06 recompile did_innerpuz hex hash 2021-05-17 19:45:59 +01:00
matt ca149d72e9 optimise pool_reward_parent_id calculation 2021-05-17 19:16:44 +01:00
matt 99feff9445 clvm hash commit for pool_escaping puz 2021-05-17 18:57:57 +01:00
matt 3546b38aee update and add sha256trees for singleton puzzles 2021-05-17 18:12:49 +01:00
matt 2f916a9714 lots of lint fixes 2021-05-17 17:46:45 +01:00
matt 6b85df4501 tests pass 2021-05-17 17:38:50 +01:00
matt 2d8bbf0130 Fix bug where 0x00 was prepending coin_id 2021-05-17 16:33:35 +01:00
matt 36a9f02694 Fix genesis_id passing in singleton_top_layer 2021-05-17 15:46:33 +01:00
matt da66ddba73 singleton_top_layer passes singleton_id and am_i_eve boolean into innerpuz 2021-05-17 15:23:38 +01:00
matt de5381a285 capitalise the parameters that are curried in 2021-05-14 15:34:37 +01:00
matt 2dd37d44e8 undo debug mode (x) in chialisp 2021-05-14 00:54:15 +01:00
matt 5441d77495 changes to a lot of singleton related code following several meetings 2021-05-13 16:48:43 +01:00
matt ebb8f2d58b save progress before rebase 2021-05-10 14:22:46 +01:00
matt 20c2bf50ef Commit pool innerpuzzles for analysis 2021-05-10 14:22:03 +01:00
matt 1fbfad5b0e added comments describing the puzzle parameters 2021-05-10 14:21:38 +01:00
matt f230273ddb assert that ID passed in solution is real ID 2021-05-10 14:21:38 +01:00
matt fe481a2c4d Changed to 0x00 announcement and formatted comment 2021-05-10 14:21:38 +01:00
matt 695b12c03a create p2_singleton puzzle and add test 2021-05-10 14:21:38 +01:00
Benedict Jin bac1b8db6b Remove the useless loop iterator variable for did_wallet 2021-05-09 23:31:18 -07:00
Alfonso Perez 1faa5e67af
Clarify units of amount and fees in wallet help dialog (#3472)
* clarify units of amount and fees

* format code to pass linting rules
2021-05-10 14:58:38 +09:00
Chris Marslender 61baae5648 Add unspent coin count to wallet balance API 2021-05-09 13:21:38 -07:00
Mariano Sorgente 5d3d4bbefc
No negative amounts (#4294)
Mempool no negative amounts
Don't disconnect for COIN_AMOUNT_NEGATIVE
2021-05-10 01:28:15 +09:00