Bad Account Creation Transactions Causing Block Mining To Fail

Talk about the game
Post Reply
bonedaddy
Posts: 1
Joined: Thu Oct 08, 2020 4:16 am

Bad Account Creation Transactions Causing Block Mining To Fail

Post 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`
Syksy
Posts: 13
Joined: Tue Mar 03, 2020 12:30 am

Re: Bad Account Creation Transactions Causing Block Mining To Fail

Post by Syksy »

Thanks for reporting this bonedaddy! I'll forward the link to this post also to the Discord channel :)
StormSeeker
Posts: 1
Joined: Fri Oct 09, 2020 8:05 pm

Re: Bad Account Creation Transactions Causing Block Mining To Fail

Post 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???
mooo
Posts: 22
Joined: Tue Mar 10, 2020 12:56 am

Re: Bad Account Creation Transactions Causing Block Mining To Fail

Post 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.
Syksy
Posts: 13
Joined: Tue Mar 03, 2020 12:30 am

Re: Bad Account Creation Transactions Causing Block Mining To Fail

Post 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.
Post Reply