Commit Graph

95 Commits

Author SHA1 Message Date
Jay Graber 9f01f7fc30 Merge branch 'master' of github.com:zcash-hackworks/ZBXCAT 2017-10-19 11:10:12 -07:00
Jay Graber fe0b50d488 Rm commented lines 2017-10-19 11:10:00 -07:00
Jay Graber cd9ae67750 Raise ValueError when commitment is not a string 2017-10-19 11:03:34 -07:00
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 11f9c02043
copy bitcoinProxy tests for zcashProxy 2017-09-15 17:25:16 -06:00
James Prestwich e13288f17e
placeholder tests for bitcoinRPC 2017-09-15 16:21:38 -06:00
James Prestwich b255ecdda1
start test for bitcoinRPC 2017-09-15 15:19:33 -06:00
James Prestwich cf00fd0474
comment out unused lines in bitcoinRPC 2017-09-15 14:43:39 -06: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
James Prestwich 182d9caa97
more db tests, equality operators for Trade and Contract 2017-09-15 14:32:48 -06:00
Jay Graber 83277eb630 Rm unnecessary functions in protocol.py 2017-09-15 13:26:02 -07:00
Jay Graber 5b118354e7 Rm print_trade 2017-09-15 13:18:17 -07:00
Jay Graber 7e39d8a48b Remove calls to zcashd 2017-09-15 13:15:17 -07:00
James Prestwich 8dc7f77bae
more tests for db, improvements to Trade and DB classes 2017-09-15 13:29:07 -06:00
Jay Graber e6cb6764ae Fix refund bug 2017-09-15 11:51:40 -07:00
James Prestwich e375537af4
start unit tests for db 2017-09-15 11:12:13 -06:00
James Prestwich 95a709e819
set up testrunner 2017-09-14 14:37:26 -06:00
James Prestwich f65641a2c7
minor linting 2017-09-13 09:35:31 -06:00
James Prestwich 4cf2a6b393
lint userInput 2017-09-13 00:00:38 -06:00
James Prestwich ec71e34b7a
lint zcashRPC 2017-09-12 23:48:56 -06:00
James Prestwich cdda932dde
lint bitcoinRPC 2017-09-12 23:44:25 -06:00
James Prestwich 2745b46692
make db.instantiate static 2017-09-12 23:32:39 -06:00
James Prestwich 27f32ff57d
refactor db to be an object 2017-09-12 23:28:36 -06:00
James Prestwich 08b90c3494
update import in test_db.py 2017-09-12 22:56:39 -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 bcb42cc171 Merge branch 'master' of github.com:zcash/ZBXCAT 2017-09-11 11:52:44 -07:00
Jay Graber 7042473554 refund script bug 2017-09-11 11:52:08 -07:00
Jay Graber 63d776bf36 debug 2017-09-11 11:44:54 -07:00
Jay Graber a54b42c645 sighash 2017-09-11 11:43:04 -07:00
Jay Graber 592e26453c sighash anyonecanpay 2017-09-08 14:43:32 -07:00
Jay Graber 59c2a1c37b Debug checklocktimeverify process, not complete 2017-09-08 14:24:12 -07:00
James Prestwich f8b7530702
lint db 2017-09-04 20:17:55 -06:00
James Prestwich 5604b1b064
error case for find_role 2017-09-04 18:56:48 -06:00
James Prestwich ba1119570b
cleanup, and more tests 2017-09-04 18:43:08 -06:00
James Prestwich 346f98ff33
first test implemented 2017-09-04 18:32:13 -06:00
James Prestwich 5fc8cf0d13
lint utils.py 2017-09-04 18:00:55 -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
James Prestwich 5a4a61c82a
slight formatting changes to test_cli 2017-09-04 11:00:59 -06:00
James Prestwich 8aefbd2df5
clean up and create requirements.txt 2017-09-04 10:06:30 -06:00
Jay Graber 16826db42b Modify parse secret to handle refund tx without secret 2017-08-30 17:32:00 -07:00
Jay Graber 2436f0066b Auto refund 2017-08-30 12:14:42 -07:00
Jay Graber e6768147c6 Refactor redeem and refund 2017-08-30 12:14:32 -07:00
Jay Graber 3fd724f6fc Add logging debug option 2017-08-29 17:17:28 -07:00