Closed jkrauska closed 6 years ago
Sorry for the wide blast here, but it's a pretty big blocker to doing any 'real' scaling tests.
I made an integration test for this yesterday, going to be working on figuring it out today #542
I am working on a PR that fixes this (I think). I encountered this issue when running full-test with snarks on. There was a lib snark error that Izzy fixed and then there was an rpc error that I haven't figured out the root cause of, but made a workaround-fix. I am also working on another PR that is required for this issue to be fixed (having non-zero fee_excess at the top). I'll include more details in the PR.
tried deb from #542 and it works
admin@ip-172-31-18-66:~$ trade.py
--------------------------------------------------------------------------------
/usr/local/bin/cli client get-balance -address JgN/txgzOFPrOy8khSJSdPyFHdT+t05dgljjcaRvjXSC6ZFfcfkXAA
high 10000
/usr/local/bin/cli client get-balance -address JgMuF0Dkx1tw6eAX2om4kJ+4Ch4PsBmtaaeX9o0y26fsnUBLrUlPAA
low 100
/usr/local/bin/cli client send-txn -amount 48 -from JgGg7PfX+SuEc8siVxn+OVeXBXcN3p0Wed0plH+tRn4+RduAlfUY -receiver JgMuF0Dkx1tw6eAX2om4kJ+4Ch4PsBmtaaeX9o0y26fsnUBLrUlPAA
Successfully enqueued txn in pool
Sleeping 10
--------------------------------------------------------------------------------
/usr/local/bin/cli client get-balance -address JgN/txgzOFPrOy8khSJSdPyFHdT+t05dgljjcaRvjXSC6ZFfcfkXAA
high 9952
/usr/local/bin/cli client get-balance -address JgMuF0Dkx1tw6eAX2om4kJ+4Ch4PsBmtaaeX9o0y26fsnUBLrUlPAA
low 148
/usr/local/bin/cli client send-txn -amount 24 -from JgGg7PfX+SuEc8siVxn+OVeXBXcN3p0Wed0plH+tRn4+RduAlfUY -receiver JgMuF0Dkx1tw6eAX2om4kJ+4Ch4PsBmtaaeX9o0y26fsnUBLrUlPAA
Successfully enqueued txn in pool
Sleeping 10
--------------------------------------------------------------------------------
/usr/local/bin/cli client get-balance -address JgN/txgzOFPrOy8khSJSdPyFHdT+t05dgljjcaRvjXSC6ZFfcfkXAA
high 9928
/usr/local/bin/cli client get-balance -address JgMuF0Dkx1tw6eAX2om4kJ+4Ch4PsBmtaaeX9o0y26fsnUBLrUlPAA
low 172
/usr/local/bin/cli client send-txn -amount 16 -from JgGg7PfX+SuEc8siVxn+OVeXBXcN3p0Wed0plH+tRn4+RduAlfUY -receiver JgMuF0Dkx1tw6eAX2om4kJ+4Ch4PsBmtaaeX9o0y26fsnUBLrUlPAA
Successfully enqueued txn in pool
Sleeping 10
--------------------------------------------------------------------------------
/usr/local/bin/cli client get-balance -address JgN/txgzOFPrOy8khSJSdPyFHdT+t05dgljjcaRvjXSC6ZFfcfkXAA
high 9912
/usr/local/bin/cli client get-balance -address JgMuF0Dkx1tw6eAX2om4kJ+4Ch4PsBmtaaeX9o0y26fsnUBLrUlPAA
low 188
/usr/local/bin/cli client send-txn -amount 31 -from JgGg7PfX+SuEc8siVxn+OVeXBXcN3p0Wed0plH+tRn4+RduAlfUY -receiver JgMuF0Dkx1tw6eAX2om4kJ+4Ch4PsBmtaaeX9o0y26fsnUBLrUlPAA
Successfully enqueued txn in pool
Sleeping 10
also added run-start-worked PUBLICKEY to the join script.
cli daemon -propose true -peer seed.o1test.net:8303 -run-snark-worker JgMuF0Dkx1tw6eAX2om4kJ+4Ch4PsBmtaaeX9o0y26fsnUBLrUlPAA
thx.
Setup:
Start one daemon as a 'seed' node on one host
Start second daemon as a 'joiner' node on another host pointing to see node as initial peer.
They seem to connect to each other.
Trigger:
Attaching some logs that had extra info captures from @cmr (thx).
trigger notes: