Page 1 of 1

Bad Account Creation Transactions Causing Block Mining To Fail

Posted: Thu Oct 08, 2020 4:22 am
by bonedaddy
The current testnet was stalled for around an hour when I noticed my miner indicating that mined blocks were invalid. Upon further investigation two transactions were identified as causing the problem. This was easy to deduce because as per the logs from this link (https://paste.debian.net/1166292/), it was a create_account command causing problems, and only two transactions in the tx pool were create_account:

* https://explorer.townforge.net/tx/6dbc5 ... 6bc243dce6
* https://explorer.townforge.net/tx/a86ad ... fff9822643

Running the following commands to flush the transactions from my node was enough to be able to successfully mine new blocks:

* `flush_txpool a86ad8eec25bcc8d647a132c14c5b325d1ad3102ef8c0e02a25a65fff9822643`
* `flush_txpool 6dbc54183f78b2e5b9201c9e1671be64eade829979acc630145e966bc243dce6`

Re: Bad Account Creation Transactions Causing Block Mining To Fail

Posted: Fri Oct 09, 2020 2:34 am
by Syksy
Thanks for reporting this bonedaddy! I'll forward the link to this post also to the Discord channel :)

Re: Bad Account Creation Transactions Causing Block Mining To Fail

Posted: Fri Oct 09, 2020 8:08 pm
by StormSeeker
i cant create account too, my waller have founds but balance is empty, im minning some time and found blocks, but balance blocked. Because i dont have account. How i can create my account???

Re: Bad Account Creation Transactions Causing Block Mining To Fail

Posted: Sat Oct 10, 2020 1:50 am
by mooo
The hiccup is now fixed in git.

As for empty balance, you need to wait 60 blocks for mined balance to get usable, same as monero. That should take about an hour. Once your mined balance unlocks, you can deposit it to create an account.

Re: Bad Account Creation Transactions Causing Block Mining To Fail

Posted: Sat Oct 10, 2020 7:00 pm
by Syksy
Alternatively, I've put up invitation codes so you can get into the game faster; I believe 3 of them are still free at:
https://www.reddit.com/r/Townforge/comm ... 0_testnet/

When you start the game and have your daemon running, copy-paste one of the 4-line invitation codes into "Player" > "Accept invitation", and it should then show you an invitation for 1,000 (testnet) townforge gold in-game wallet from Syksy. It's faster way to get to playtest than mine at the moment.