Commit Graph

47 Commits

Author SHA1 Message Date
Jay Graber 9f2147b01f Refactor cli into CLI class, rm db call from protocol 2017-10-19 10:56:10 -07:00
Jay Graber 6840c11d55 Remove merge conflicts from master 2017-10-19 07:45:52 -07:00
Jay Graber 2d902c9c6c Add auto mode to skip user input 2017-10-19 07:25:21 -07:00
Jay Graber 1f3a65cd42 Add option to pass trade data in as json on cli 2017-10-19 07:24:00 -07:00
James Prestwich cad8d010ca
Merge branch 'master' of https://github.com/zcash-hackworks/zbxcat into better-tests 2017-09-15 14:40:41 -06:00
Jay Graber 83277eb630 Rm unnecessary functions in protocol.py 2017-09-15 13:26:02 -07:00
James Prestwich 8dc7f77bae
more tests for db, improvements to Trade and DB classes 2017-09-15 13:29:07 -06:00
James Prestwich 27f32ff57d
refactor db to be an object 2017-09-12 23:28:36 -06:00
James Prestwich 917acd1efc
undo xcatconf change, pull in old tests, create a older for unit tests 2017-09-12 22:52:21 -06:00
James Prestwich de8ec2df54
linting, fix SelectParams import 2017-09-12 22:16:42 -06:00
James Prestwich 7ccc8084b2
Merge branch 'master' of https://github.com/zcash-hackworks/zbxcat into better-tests 2017-09-11 15:30:33 -06:00
Jay Graber 59c2a1c37b Debug checklocktimeverify process, not complete 2017-09-08 14:24:12 -07:00
James Prestwich 5604b1b064
error case for find_role 2017-09-04 18:56:48 -06:00
James Prestwich 5198a2b765
lint cli.py 2017-09-04 17:43:13 -06:00
James Prestwich 577a003076
refactor cli.py to work with protocol as an object 2017-09-04 17:12:43 -06:00
James Prestwich 270bd7000f
refactor protocol, put test stubs in place, linting, prep for cli tests 2017-09-04 17:03:17 -06:00
Jay Graber 2436f0066b Auto refund 2017-08-30 12:14:42 -07:00
Jay Graber 3fd724f6fc Add logging debug option 2017-08-29 17:17:28 -07:00
Jay Graber 6f20bdbad0 Pull addr validation up into cli.py 2017-08-25 15:42:30 -07:00
Jay Graber 41e1c437ec Refactor zcashRPC 2017-08-25 15:22:38 -07:00
Jay Graber 2fcdea44b6 cleanup 2017-08-25 12:12:29 -07:00
Jay Graber ac1c8a371b Ask buyer b4 send funds 2017-08-25 10:36:54 -07:00
Jay Graber d32715a70e Fix printout 2017-08-25 09:25:50 -07:00
Jay Graber 12f709fb62 Change tests, initial info collection 2017-08-06 23:19:21 -07:00
Jay Graber c453ae90e4 Add listtrades 2017-08-04 20:49:02 -07:00
Jay Graber 1916ec9855 Add error catching to cli 2017-08-04 19:31:25 -07:00
Jay Graber b7f108e15a Rm hardcoded username pw 2017-08-03 09:04:51 -07:00
Jay Graber 99a3ac71fc Clean up printing to console 2017-08-02 21:41:55 -07:00
Jay Graber 21b240ff69 Pass in through -conf 2017-08-02 20:56:56 -07:00
Jay Graber ee8dac6ee4 Get default addresses from xcatconf.py in top level dir 2017-08-02 19:36:07 -07:00
Jay Graber 546a312e0a Some cleaning up 2017-08-02 18:45:36 -07:00
Jay Graber e78072d0aa Save secret in key/value store 2017-08-02 18:06:09 -07:00
Jay Graber 3a61adb157 Modify cli to allow import and export to work with magic-wormhole transfer 2017-08-02 16:10:15 -07:00
Jay Graber 6bd8c2f751 Get secret from redeemtx on blockchain; rm redundant auto_redeem function 2017-08-02 12:18:18 -07:00
Jay Graber ada62d25fa Remove unnecessary 2017-08-01 15:33:49 -07:00
Jay Graber 6312cd02b0 Reduce dependency on json, down to buyer redeem step 2017-08-01 13:03:10 -07:00
Jay Graber d8fcd7e95b Parse secret for buyer 2017-07-31 19:13:46 -07:00
Jay Graber 0fcad69b06 Fix import/export cli tests 2017-07-31 17:06:58 -07:00
Jay Graber 9bb7b7c0f5 Modify checktrade for tests 2017-07-31 16:25:49 -07:00
Jay Graber 6bb6a9c756 add full workflow to cli test 2017-07-31 15:27:43 -07:00
Jay Graber 7328be0dc2 Lookup by tradeid 2017-07-31 15:15:22 -07:00
Jay Graber 9cc52454c8 Changes to newtrade 2017-07-31 14:01:20 -07:00
Jay Graber f4d68606e1 Fix imports 2017-07-31 13:51:54 -07:00
Jay Graber 4d0b2a169f Add findtrade, rm unnecessary imports 2017-07-31 13:32:51 -07:00
Jay Graber 4bd5ac0bc9 Add tests up to newtrade 2017-07-28 20:45:46 -07:00
Jay Graber 0cab1f7db3 Add tests for database 2017-07-28 19:44:24 -07:00
Jay Graber 94abea7bc2 Repackage as python module 2017-07-28 17:23:32 -07:00