Skip to content

Instantly share code, notes, and snippets.

View dexX7's full-sized avatar

dexX7

View GitHub Profile
@dexX7
dexX7 / 20141120-MetaDexPlanTest
Created November 20, 2014 14:24
mastercore-rpc-tests: MetaDexPlanTest
Tested with:
https://github.com/mastercoin-MSC/mastercore/tree/4ff017f95e2a6d419d47e2fbd06d55b2fea47e35
Note:
Amounts in "offering ..." info is shown as divisible amount, even if it's indivisible.
~/mastercore/qa/mastercore-rpc-tests$ python test_meta_dex_plan.py
Initializing test directory /tmp/test1ktfOs
Sending 0E-8 BTC from moSm3g3iLt87K1eitN1pii5R8h3XYXE3kn to moSm3g3iLt87K1eitN1pii5R8h3XYXE3kn with a fee of 0.00010000 BTC
Sending 50.00000000 BTC from moSm3g3iLt87K1eitN1pii5R8h3XYXE3kn to mgEekqYF8PPTW9TRBhZSGZjAKLXpv8NtKY with a fee of 0.00010000 BTC
http://builder.bitwatch.co/?version=65535&type=65535&text=313a3330393630303a303a5468697320696e666f20616c657274206973206e6f742076657273696f6e20746172676574656420616e64206578706972657320617420626c6f636b20686569676874203330393630302e00&sender=mvbtvhJycmKYVkaxHWgpuidyqFMnf6MEXH
2014-11-21 13:28:06 ____________________________________________________________________________________________________________________________________
2014-11-21 13:28:06 parseTransaction(block=309579, 2014-11-21 14:35:23 idx= 4); txid: becc55dd27da89e8395e7b2ca4aa46e145f3fba15ee6462d61790a68d819eb00
2014-11-21 13:28:06 version: 65535, Class B
2014-11-21 13:28:06 type: 65535 (* unknown type *)
2014-11-21 13:28:06 !!! interpretPacket() returned -9000 !!!
2014-11-21 13:28:06 BLOCK: 309579 =txid: becc55dd27da89e8395e7b2ca4aa46e145f3fba15ee6462d61790a68d819eb00 =fee: 0.00010000
2014-11-21 13:28:06 sender: mvbtvhJycmKYVkaxHWgpuidyqFMnf6MEXH ; receiver: mvbtvhJycmKYVkaxHWgpuidyqFMnf6MEXH
2014-11-21 13:28:06 pkt: 0000ffff313a33303
@dexX7
dexX7 / test_mixed_dex_no_cancel
Created November 26, 2014 05:03
20142611 test_mixed_dex_no_cancel.py log
~/mastercore/qa/mastercore-rpc-tests$ python test_mixed_dex_no_cancel.py
...
Start test:
Balance of mgnNw5c7m69HdZfhhjnCeGkaDgvq2mFGJH should be: 63.50000000 SP2 (0.00000000 SP2 reserved)... OK
Balance of mgnNw5c7m69HdZfhhjnCeGkaDgvq2mFGJH should be: 0.00000000 SP2147483655 (0.00000000 SP2147483655 reserved)... OK
Balance of mgnNw5c7m69HdZfhhjnCeGkaDgvq2mFGJH should be: 0 SP2147483651 (0 SP2147483651 reserved)... OK
Offering (action: 1) 0.50000000 SP2 from mgnNw5c7m69HdZfhhjnCeGkaDgvq2mFGJH for 5000000000.00000000 SP2147483651
@dexX7
dexX7 / test_mixed_dex_cancel
Created November 26, 2014 05:04
20142611 test_mixed_dex_cancel
~/mastercore/qa/mastercore-rpc-tests$ python test_mixed_dex_cancel.py
...
Start test:
Balance of mgnNw5c7m69HdZfhhjnCeGkaDgvq2mFGJH should be: 63.50000000 SP2 (0.00000000 SP2 reserved)... OK
Balance of mgnNw5c7m69HdZfhhjnCeGkaDgvq2mFGJH should be: 0.00000000 SP2147483655 (0.00000000 SP2147483655 reserved)... OK
Balance of mgnNw5c7m69HdZfhhjnCeGkaDgvq2mFGJH should be: 0 SP2147483651 (0 SP2147483651 reserved)... OK
Offering (action: 1) 0.50000000 SP2 from mgnNw5c7m69HdZfhhjnCeGkaDgvq2mFGJH for 5000000000.00000000 SP2147483651
@dexX7
dexX7 / 20141129-All
Created November 29, 2014 07:58
mastercore-rpc-tests: run_tests.py
Tested with:
https://github.com/mastercoin-MSC/mastercore/tree/4c3f204401a5e2592912907365f6fc8e2870beb0
Note:
Amounts in "offering ..." info is shown as divisible amount, even if it's indivisible.
~/mastercore/qa/mastercore-rpc-tests$ python python run_tests.py
Initializing test directory /tmp/testNmnH2v
Balance of misHQv3BELrq65apWAmzBtzK8Q1W4bQcbV should be: 0.00000000 SP1 (0.00000000 SP1 reserved)... OK
Balance of misHQv3BELrq65apWAmzBtzK8Q1W4bQcbV should be: 0.00000000 SP2 (0.00000000 SP2 reserved)... OK
@dexX7
dexX7 / 20141129-MetaDexCancelPairAndLookupTest
Created November 29, 2014 16:42
mastercore-rpc-tests: test_cancel_pair_and_lookup.py
Tested with:
https://github.com/mastercoin-MSC/mastercore/tree/4c3f204401a5e2592912907365f6fc8e2870beb0
Note:
Amounts in "offering ..." info is shown as divisible amount, even if it's indivisible.
~/mastercore/qa/mastercore-rpc-tests$ python test_cancel_pair_and_lookup.py
Initializing test directory /tmp/testI856zL
Sending 0E-8 BTC from mgGVY1G91EHNPkNEjQQbHqDTthzEHEfvGG to mgGVY1G91EHNPkNEjQQbHqDTthzEHEfvGG with a fee of 0.00010000 BTC
Purchasing Mastercoins from mgGVY1G91EHNPkNEjQQbHqDTthzEHEfvGG for 500.00000000 BTC with a fee of 0.00010000 BTC
@dexX7
dexX7 / 20141203-All
Created December 3, 2014 01:14
mastercore-rpc-tests: run_tests.py
Run with:
https://github.com/dexX7/bitcoin/commit/08afaac6b5ff165760c5c7acc046314fcf46afa9
Initializing test directory /tmp/testYjzluR
Balance of mmQMKpLKxCvw8jESBerEppKkK2Kd4T447A should be: 0.00000000 SP1 (0.00000000 SP1 reserved)... OK
Balance of mmQMKpLKxCvw8jESBerEppKkK2Kd4T447A should be: 0.00000000 SP2 (0.00000000 SP2 reserved)... OK
Balance of mzw5sEUdPCfTg4YGJgtobK3SrAGtSUPegZ should be: 0.00000000 SP1 (0.00000000 SP1 reserved)... OK
Balance of mzw5sEUdPCfTg4YGJgtobK3SrAGtSUPegZ should be: 0.00000000 SP2 (0.00000000 SP2 reserved)... OK
Sending 25.00000000 BTC from n35kmpcXT3uG8N27YUgfvT5CCwA2UU2kcV to mmQMKpLKxCvw8jESBerEppKkK2Kd4T447A with a fee of 0.00010000 BTC
@dexX7
dexX7 / 20141209-0a2acbeb0a1c287b5842f5674b20d786f27f0c2d
Created December 9, 2014 17:18
mastercore-rpc-tests: run_tests.py
Run with:
https://github.com/mastercoin-MSC/mastercore/commit/0a2acbeb0a1c287b5842f5674b20d786f27f0c2d
Initializing test directory /tmp/testauRN6J
Balance of mj6hNfqLSvjaEUzw3HyD8D7JtA8r5d5L7G should be: 0.00000000 SP1 (0.00000000 SP1 reserved)... OK
Balance of mj6hNfqLSvjaEUzw3HyD8D7JtA8r5d5L7G should be: 0.00000000 SP2 (0.00000000 SP2 reserved)... OK
Balance of n2R9apSkv7uohwY6XQoXDFBfrEPTN45SbH should be: 0.00000000 SP1 (0.00000000 SP1 reserved)... OK
Balance of n2R9apSkv7uohwY6XQoXDFBfrEPTN45SbH should be: 0.00000000 SP2 (0.00000000 SP2 reserved)... OK
Sending 25.00000000 BTC from mwGpCRoFfd3gfsC5ye2m9EUgrZvFSjgJdr to mj6hNfqLSvjaEUzw3HyD8D7JtA8r5d5L7G with a fee of 0.00010000 BTC
Sending 25.00000000 BTC from mwGpCRoFfd3gfsC5ye2m9EUgrZvFSjgJdr to n2R9apSkv7uohwY6XQoXDFBfrEPTN45SbH with a fee of 0.00010000 BTC
@dexX7
dexX7 / 20141210-4324910-223-233
Created December 10, 2014 14:40
mastercore-rpc-tests: run_tests.py
Master Core: 2f2f9465b1467c47a9a33ff47b9bb6b94236cf83 + PR 223 + PR 233
Test framework: 0d7da1a9fabea48a624e1ae4e9695697d19451b8
Initializing test directory /tmp/test6aYe5b
Balance of mh15wb7m52u1udTDXK4R9aqC5qbfWKryQe should be: 0.00000000 SP1 (0.00000000 SP1 reserved)... OK
Balance of mh15wb7m52u1udTDXK4R9aqC5qbfWKryQe should be: 0.00000000 SP2 (0.00000000 SP2 reserved)... OK
Balance of n3SigzDCgNrSVcgHZtgkVqwL325ZMWJ3tE should be: 0.00000000 SP1 (0.00000000 SP1 reserved)... OK
Balance of n3SigzDCgNrSVcgHZtgkVqwL325ZMWJ3tE should be: 0.00000000 SP2 (0.00000000 SP2 reserved)... OK
Sending 25.00000000 BTC from n4mNE3u5N1d2aXXb92CaRgPnQM63gX6qyx to mh15wb7m52u1udTDXK4R9aqC5qbfWKryQe with a fee of 0.00010000 BTC
Sending 25.00000000 BTC from n4mNE3u5N1d2aXXb92CaRgPnQM63gX6qyx to n3SigzDCgNrSVcgHZtgkVqwL325ZMWJ3tE with a fee of 0.00010000 BTC
ProblemType: Crash
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Dec 15 02:04:02 2014
DistroRelease: Ubuntu 14.04
ExecutablePath: /usr/bin/mastercored
ExecutableTimestamp: 1418519606
ProcCmdline: mastercored
ProcCwd: /home/dexx
ProcEnviron: