mimblewimble / grin

Minimal implementation of the Mimblewimble protocol.
https://grin.mw/
Apache License 2.0
5.04k stars 991 forks source link

'Grin wallet outputs' has stopped outputting (from a rather large wallet) #1045

Closed photis closed 6 years ago

photis commented 6 years ago

grin wallet outputs has stopped outputting anything for me:

[2018-05-06 16:39 photis@gringotts:~/Projects/mimble/stratum]$ grin wallet info
May 06 16:39:37.012 INFO This is Grin version 0.2.0 (git testnet2-85-g2b2e13b), built for x86_64-unknown-linux-gnu by rustc 1.25.0 (84203cac6 2018-03-25).
May 06 16:40:13.418 INFO Acquiring wallet lock ...
May 06 16:40:53.772 INFO ... released wallet lock
May 06 16:41:42.914 INFO Acquiring wallet lock ...
May 06 16:42:02.388 INFO ... released wallet lock

____ Wallet Summary Info at 55310 (from server node) ____

 Total                            | 693925.930000000
 Awaiting Confirmation            | 0.000000000
 Confirmed but Still Locked       | 11340.226000000
 Currently Spendable              | 682585.704000000
 ---------                        | ---------
 (Locked by previous transaction) | 0.000000000

[2018-05-06 16:42 photis@gringotts:~/Projects/mimble/stratum]$ grin wallet outputs
May 06 16:42:37.503 INFO This is Grin version 0.2.0 (git testnet2-85-g2b2e13b), built for x86_64-unknown-linux-gnu by rustc 1.25.0 (84203cac6 2018-03-25).
May 06 16:42:46.332 INFO Acquiring wallet lock ...
May 06 16:43:10.356 INFO ... released wallet lock
[2018-05-06 16:43 photis@gringotts:~/Projects/mimble/stratum]$

It has been doing this repeatedly and consistently for a while now.

EDIT: I just remembered the curl -X POST -v http://127.0.0.1:13413/v1/chain/height-index “solution” and although I didn’t think it would make a difference since grin wallet info already returned a correct result, I tried it anyway just now and lo-and-behold grin wallet outputs returned the expected and correct result.

Leaving it here nonetheless, just to keep track of it. Feel free to remove or close.

yeastplume commented 6 years ago

Code has been changed and improved significantly since this... please open up again if you see this during T3.