How many peers am I connect to?
-
@LithStud Good to know - I'll post back at what my RAM usage is like
-
@haitch daWallet had similar numbers (slighly larger but still under 500)
-
wow, below 80Mb RAM usage on the windows AIO Wallet!!
I'm having a terrible time with syncing today however! Both my windows and linux wallets are constantly getting stuck!
always with the same type of error2017-02-22 16:00:58 SEVERE: Block not accepted nxt.BlockchainProcessor$BlockOutOfOrderException: Invalid timestamp: 80053366 current time is 80053258, previous block timestamp is 80052934nothing that I do seems to help!-/ "poping of" blocks and restarting, blacklisting all 1.2.2 and 1.2.3 peers and replacing the whole db!
Anybody else having this problem today?
-
@nixxda Check your PC clock is correct, the error looks like the wallet thinks it's getting blocks from the future.
-
@nixxda i got that after upgrading- the wallet seems to stop updating to new blocks afterwards (pop off didn't help).
i bumped up logging level to FINE and got an error to effect of new block broadcast being ignored because it is already in block cache (sorry i didn't save the log). tracked the error down in the code and there have been some recent commits near it relating to cleaning block cache. messed with the code a bit but no luck with a few attempts to revert.
ended up removing forward on peer port (8123 default) so new blocks are pulled instead of pushed.
and yes i had synced to ntp.
-
@haitch could be! something weird is going on with my time syncs!-/ but I'm running "dimenson4" on win and "chrony" on linux
@damncourier by setting "nxt.shareMyAddress=false" you mean? I
-
@nixxda that error is expected. Its actually a debug message to show why block wasnt accepted ;) there os a recompiled version with that debug dissabled ;)
-
@nixxda nah on the router, had previously added the forward to allow incoming connection (on which other wallets are able to push block, transaction, etc) which i removed, so my wallet gets new blocks by connecting to peers and requesting them.
try changing your log level and see if you get errors following that one.
in conf/logging-default.properties change last line to "java.util.logging.ConsoleHandler.level = FINE" and restart
-
Moved to Help&Support
-
@damncourier waiting and watching!-) seems like the wallet is not "really" stuck! I get the new blocks after a restart.
@LithStud A recompiled version? where? on linux I've been using "compile.sh" straight out of your git. But I get the same type of error on linux and win!? 2 machines different ports
-
@nixxda ahh i havent had a chance to sync my fork with official repo ;) and it seems changes are not published there yet, so if @luxe could point me what to change i can update it on my fork manually
-
@LithStud what changes are not published?
-
@luxe i think you mentioned that you recompiled so cmd client doesnt show the debug message, unless i am mistaking it?
-
@LithStud ah ok, but that does not change any bahavior, it's just less log details ...
https://forums.burst-team.us/topic/4019/new-wallet-version-1-2-8/14I just removed the bold part (, e) ... Logger.logMessage("Block not accepted", e);
-
@luxe look up at @nixxda post ;) since i cant explain how to compile it so it shows less logs :) i thuoght its some kind of edit that would be visible on repo but obviously i am wrong :D
just noticed the comment about e :D
-
@nixxda hehe i just reopened the peer port on the router so waiting as well- i could throw off my time but that seems like cheating.
yeah compile.sh on linux, already had a jdk on the system so it went smoothly. gave up on this because testing was a time killer.
i had started mess with the wallet code to add a config option for the wallet to ignore unconfirmed transaction from peers to eliminate overhead of inserting them into the database and rebroadcasting them. the 255 max in a block is reasonable but thousands getting inserted and removed every block was causing errors and system load.
-
-
@luxe no problem i will alter it a bit on my end :) that is if i will remember enough of java ;)
-
@nixxda okay so here is the message i was referring to:
2017-02-22 12:49:40 SEVERE: Block not accepted nxt.BlockchainProcessor$BlockOutOfOrderException: Invalid timestamp: 80063493 current time is 80063380, previous block timestamp is 80063332 at nxt.BlockchainProcessorImpl.pushBlock(BlockchainProcessorImpl.java:849) at nxt.BlockchainProcessorImpl.access$400(BlockchainProcessorImpl.java:45) at nxt.BlockchainProcessorImpl$3.run(BlockchainProcessorImpl.java:194) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) 2017-02-22 12:51:20 FINE: Ignoring peer broadcast block with ID 2663043726674887105. Already exists in queue 2017-02-22 12:51:20 FINE: Ignoring peer broadcast block with ID 2663043726674887105. Already exists in queue 2017-02-22 12:51:22 FINE: Ignoring peer broadcast block with ID 2663043726674887105. Already exists in queue 2017-02-22 12:51:24 FINE: Ignoring peer broadcast block with ID 2663043726674887105. Already exists in queue 2017-02-22 12:51:24 FINE: Ignoring peer broadcast block with ID 2663043726674887105. Already exists in queue 2017-02-22 12:51:24 FINE: Ignoring peer broadcast block with ID 2663043726674887105. Already exists in queue 2017-02-22 12:51:25 FINE: Ignoring peer broadcast block with ID 2663043726674887105. Already exists in queue 2017-02-22 12:51:29 FINE: Ignoring peer broadcast block with ID 2663043726674887105. Already exists in queue 2017-02-22 12:51:33 FINE: Ignoring peer broadcast block with ID 2663043726674887105. Already exists in queue 2017-02-22 12:51:37 FINE: Ignoring peer broadcast block with ID 2663043726674887105. Already exists in queue 2017-02-22 12:51:55 FINE: Ignoring peer broadcast block with ID 2663043726674887105. Already exists in queue 2017-02-22 12:52:16 FINE: Ignoring peer broadcast block with ID 2663043726674887105. Already exists in queue 2017-02-22 13:01:55 FINE: Rollback from 330993 to 330983 ----------------------------------- ~$ sudo ntpdate ntp.ubuntu.com 22 Feb 13:13:31 ntpdate[19400]: step time server 91.189.91.157 offset 1.308477 seci let the wallet get four blocks behind before the pop off (roll back in log) and it is still not updating blocks.
maybe you well see something similar in logs.
-
@nixxda if you dont mind testing this for me, it teoretically should simplify all that stack leaving only error and its explanation. Thats assuming i got it right ;)
https://github.com/LithMage/burstcoin/tree/b-simple_log_trace this is the branch with altered code (two files altered)
