Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wallet hang after some automatic ticket purchases. #2115

Open
dnldd opened this issue Dec 15, 2021 · 0 comments
Open

wallet hang after some automatic ticket purchases. #2115

dnldd opened this issue Dec 15, 2021 · 0 comments

Comments

@dnldd
Copy link
Member

dnldd commented Dec 15, 2021

I have dcrwallet configured to automatically buy tickets in a harness but noticed I could not get past SVH with the wallet running. Noticed it wasn't purchasing tickets as expected and was hanging. Build version for the wallet is dcrwallet version 1.7.0-pre (Go version devel go1.18-8ff254e Thu Dec 9 19:01:08 2021 +0000 darwin/arm64). Here are some logs.

2021-12-15 08:38:21.213 [INF] WLLT: Published ticket purchase ee51d7738d27760a9c9e8eed740f76de4370477b7a82ac8d22c3f13e669b58ee
2021-12-15 08:38:21.302 [INF] WLLT: Returning address (account=0 branch=1 child=77)
2021-12-15 08:38:21.391 [INF] WLLT: Returning address (account=0 branch=1 child=78)
2021-12-15 08:38:21.410 [INF] WLLT: Inserting unconfirmed transaction 1fea70bf3d37d07e53b93f353085f85a29b332021d95c5f40b2a833cc5916954
2021-12-15 08:38:21.412 [INF] TKBY: Purchased ticket 7371c7836dc1e7646f430b9a597598080280d62794c3b275d9a3bee5a2ed832c at stake difficulty 0.0002 DCR
2021-12-15 08:38:21.428 [INF] TKBY: Purchased ticket 8545aaccdff3629cae97a1cc533c689aa102c311dd2b3b26641a7b672133fd5c at stake difficulty 0.0002 DCR
2021-12-15 08:38:21.428 [INF] TKBY: Purchased ticket 267809f75a63114a0394fc46e6421036c7630dec8e22b1e8464943a25d427d8a at stake difficulty 0.0002 DCR
2021-12-15 08:38:21.428 [INF] TKBY: Purchased ticket 4427f41f69785c1438efe7faf58c55379757634efb80887462028b1c43ae9887 at stake difficulty 0.0002 DCR
2021-12-15 08:38:21.428 [INF] TKBY: Purchased ticket ddb2ea854cb7a9a7275207367853471545fe1ab5a0ad31e1ec4318099da22350 at stake difficulty 0.0002 DCR
2021-12-15 08:38:21.428 [INF] TKBY: Purchased ticket 9daaf803767d84e8dedd0cec18f6dbb1f39fa4824902b24f8ece636db64a1c46 at stake difficulty 0.0002 DCR
2021-12-15 08:38:21.428 [INF] TKBY: Purchased ticket 195882005d6f96bc13a64f995745d93447c4626a1dc34c9211db27e0f1d0482c at stake difficulty 0.0002 DCR
2021-12-15 08:38:21.428 [INF] TKBY: Purchased ticket 74b30552ee5eade6e914d1629159e38283d8d86546aedec0c95a5327aed9da72 at stake difficulty 0.0002 DCR
2021-12-15 08:38:21.428 [INF] TKBY: Purchased ticket 022c8c0cba59d7cabe798ed382330b429b431f6615e6c169a2b5cffbb340b162 at stake difficulty 0.0002 DCR
2021-12-15 08:38:21.428 [INF] TKBY: Purchased ticket ee51d7738d27760a9c9e8eed740f76de4370477b7a82ac8d22c3f13e669b58ee at stake difficulty 0.0002 DCR
2021-12-15 08:38:21.428 [DBG] WLLT: Marked address SsbUrpr4ZLEgYqRT559ZSktSk56xRDnamCY used
2021-12-15 08:38:21.428 [DBG] WLLT: Accounting for ticket commitment 1fea70bf3d37d07e53b93f353085f85a29b332021d95c5f40b2a833cc5916954:1 (0.0002298 DCR) from the wallet
2021-12-15 08:38:21.428 [DBG] WLLT: Marked address SscQES1ub4PxzVgXLv7Cq3vQf6P1T9Jp5kT used
2021-12-15 08:38:21.556 [INF] WLLT: Published ticket purchase 1fea70bf3d37d07e53b93f353085f85a29b332021d95c5f40b2a833cc5916954
2021-12-15 08:38:21.572 [INF] WLLT: Split output is 433e937f503f400ef3f14ef0e077c6d4b52d4e9f953314982619bb82e54f3556:5
2021-12-15 08:38:21.678 [INF] WLLT: Returning address (account=0 branch=1 child=79)
2021-12-15 08:38:21.678 [DBG] WLLT: Marking unconfirmed transaction e21b3cdd0bc4628bb5901e5e69b52341c8656c6124d96c3c22bcc1c72127615c mined in block 37
2021-12-15 08:38:21.678 [DBG] WLLT: Marked address SsZJhsdApWJNnr8F92Tz61r5jhQXjARLMZu used
2021-12-15 08:38:21.695 [DBG] WLLT: Marked address SsVRzfcdi1S2YcdgHUcgGCwoF5aQ6NbLZSC used
2021-12-15 08:38:21.695 [DBG] WLLT: Marking unconfirmed transaction 9f50e26f286b8305c46804897ff88aedf54c67a5fe7e12cc124cdd9b73efae25 mined in block 37
2021-12-15 08:38:21.695 [DBG] WLLT: Marked address SsjNJhTiKaQ736AKvq9w3SPHzUaJjYFyTCz used
2021-12-15 08:38:21.712 [DBG] WLLT: Marked address SscH7LcdfFw5x7UnMUJozTG8BTbEphUY8hE used
2021-12-15 08:38:21.712 [DBG] WLLT: Marking unconfirmed transaction 338e38b5d3ffdb18c6071479e20492977ee698e9f12b392d038507c943a9ed6f mined in block 37
2021-12-15 08:38:21.730 [DBG] WLLT: Marked address Ssc4fh5KHuYBYn6W2p5MniAVyd6D3JnoPYi used
2021-12-15 08:38:21.749 [DBG] WLLT: Marked address SsWBRtjE1kGr2swJNodXSWPKbsVpwG5yHPM used
2021-12-15 08:38:21.766 [DBG] WLLT: Marking unconfirmed transaction 4c911e79d805fb9ee0ad255aedcf01260ed32393ab17ed5848ce0ba206385f32 mined in block 37
2021-12-15 08:38:21.783 [DBG] WLLT: Marked address SsbRZVEKZTm5tHHdkhCdzAAQtYts2DTTC82 used
2021-12-15 08:38:21.800 [DBG] WLLT: Marked address SsmYu58iSMsTxJ8f9WMZwkLMT4EoJ6yDX36 used
2021-12-15 08:38:21.800 [DBG] WLLT: Marking unconfirmed transaction 62bb11615897b0277cbf595d606af210ac5a88277384f3890846d273963f1b55 mined in block 37
2021-12-15 08:38:21.800 [DBG] WLLT: Marked address SsrG5vr4DVMe3PoWKC2w9TUVEpbRWV88dr9 used
2021-12-15 08:38:21.818 [DBG] WLLT: Marked address SsZGRiFpZ6nACPJWDyZhZWvAaLWhuxwnMcZ used
2021-12-15 08:38:21.818 [DBG] WLLT: Marking unconfirmed transaction 9b3260082758f7a01ee53fea9d5eef9b8aac241150c2dac72f20f8c638807c44 mined in block 37
2021-12-15 08:38:21.818 [DBG] WLLT: Marked address SsZk5RCTxYUkEHPxhXWLvQajgK1NE5GPd3D used
2021-12-15 08:38:21.835 [DBG] WLLT: Marked address SskF2dfpnpJbdajgjTEMnD3iWduAbFGa6p4 used
2021-12-15 08:38:21.835 [DBG] WLLT: Marking unconfirmed transaction 12588a63e31cd2c26e80d7e8396100249f4c64c0c7a2e509eba3842689c3fcff mined in block 37
2021-12-15 08:38:21.852 [DBG] WLLT: Marked address SsoarmR32vddXM4C4KPfMTss6bjySDSaX35 used
2021-12-15 08:38:21.852 [DBG] WLLT: Marked address SsqpRR9ZoQS9fUcTijZwdS9fiQ4HuzRgKSo used
2021-12-15 08:38:21.852 [DBG] WLLT: Marking unconfirmed transaction 90b98f2d3a54b25707a016b26f2ce1f4875fe2b8b9b5e4e3eb7bd2b340551cd2 mined in block 37
2021-12-15 08:38:21.869 [DBG] WLLT: Marked address SsYnJobD8ZE5gmH5jy9nRUqD9MpSWYkYFia used
2021-12-15 08:38:21.869 [DBG] WLLT: Marked address SsivFp4swAqNgycpVAqCDLpjjhE76HEpsdS used
2021-12-15 08:38:21.869 [DBG] WLLT: Marking unconfirmed transaction 656ce26952d1b2709fe2f6660b818513f40f579a5fa9ec7a555be24b58ab49c8 mined in block 37
2021-12-15 08:38:21.869 [DBG] WLLT: Marked address Ssj3BwZ8wpMGYt1keaexVyqNJtMTsXZJtiB used
2021-12-15 08:38:21.887 [DBG] WLLT: Marked address SsiehT7bCVfGDJLPEdhPm9d7rb8yCVzno3W used
2021-12-15 08:38:21.887 [DBG] WLLT: Marking unconfirmed transaction f99e75d5d1f21e08e68c5a8331ceec56b54e9e888602150d92c3c052aa1ae611 mined in block 37
2021-12-15 08:38:21.887 [DBG] WLLT: Marked address SsfTRaUs3x77QsGYd5GV4M6F7FXSagz2iXL used
2021-12-15 08:38:21.905 [DBG] WLLT: Marked address Ssqpd1q8UieDmifaemAfJtwgBSqnZ5VJgbC used
2021-12-15 08:38:21.905 [DBG] WLLT: Updating processed txs block marker to 000088b0dfdea8c3c8f5085eb025923d1d8c97598e6ab6b0e951ed04a39b4be1
2021-12-15 08:38:22.047 [INF] WLLT: Returning address (account=0 branch=1 child=80)
2021-12-15 08:38:22.048 [INF] WLLT: Inserting unconfirmed transaction de3950da558c5abd9ceace0bf77de082a0fb9e78e475d4f4ec9ce238df936d06
2021-12-15 08:38:22.048 [INF] SYNC: Connected block 000088b0dfdea8c3c8f5085eb025923d1d8c97598e6ab6b0e951ed04a39b4be1, height 37, 10 wallet transaction(s)
2021-12-15 08:38:22.066 [DBG] WLLT: Marked address SshXtT6DtmXTdH1Dq8XxFcsXjxKnbAjngYf used
2021-12-15 08:38:22.066 [DBG] WLLT: Accounting for ticket commitment de3950da558c5abd9ceace0bf77de082a0fb9e78e475d4f4ec9ce238df936d06:1 (0.0002298 DCR) from the wallet
2021-12-15 08:38:22.067 [DBG] WLLT: Marked address Ssfiq9NTSGZaUHwkXidqcV6cMZym6UcD1pn used
2021-12-15 08:38:22.120 [INF] WLLT: Published ticket purchase de3950da558c5abd9ceace0bf77de082a0fb9e78e475d4f4ec9ce238df936d06
2021-12-15 08:38:22.120 [INF] WLLT: Split output is 433e937f503f400ef3f14ef0e077c6d4b52d4e9f953314982619bb82e54f3556:6
2021-12-15 08:38:22.154 [INF] WLLT: Returning address (account=0 branch=1 child=81)
2021-12-15 08:38:22.227 [INF] WLLT: Returning address (account=0 branch=1 child=82)
^C2021-12-15 08:40:28.462 [INF] DCRW: Received signal (interrupt).  Shutting down...
2021-12-15 08:40:28.470 [ERR] SYNC: Wallet synchronization stopped: rpcsyncer.Run: context canceled
2021-12-15 08:40:28.488 [WRN] DCRW: Stopping JSON-RPC server...
2021-12-15 08:40:28.505 [INF] DCRW: JSON-RPC server shutdown
^C2021-12-15 08:42:15.353 [INF] DCRW: Shutdown signaled.  Already shutting down...                                  
^C2021-12-15 08:42:17.381 [INF] DCRW: Shutdown signaled.  Already shutting down...
^C2021-12-15 08:42:17.788 [INF] DCRW: Shutdown signaled.  Already shutting down...

Update: this seems to be intermittent, was able to purchase tickets mining to SVH on another run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant