Closed litepresence closed 1 year ago
It's quite easy to write unittests for those operations in tests/test_transactions.py. You copy&paste an existing block, fill in your operation with some random data. you doit(True) with a True in argument, then run the unittest. It will break but print out the hex string that you can use for self.cm. Then remove the True and run the test again.
doit tests against the cm variable as well as against a fixed public RpC node
pull 319 over rides this one, adds samet fund, makes small indexing change, removed two errant Optional() classes
closing 317
additional work needs to be done for full implementation