How many peers am I connect to?
-
@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)
-
@LithStud i will test that commit for you.
-
@damncourier yes, got the same error but without all the "FINE" messages! I always had to restart the wallet after poping off blocks.
I stopped my linux server for now and set the console to FINE on my windows machine. so far nothing.....!-)@LithStud I'll do that in a bit!-) wanna see if I get 1 Wallet running first!
-
@nixxda its so small i can barely make out ddns? :D
-
@LithStud little bit better better?! no NRS, no platform??
-
@nixxda a lot :)
hes either blocking somehow outgoing messages (but then we probably wouldnt be able to see him), has altered client and removed its identification, or straight up built new one (least likely)
-
@LithStud didn't compile for me
burstcoin-b-simple_log_trace$ ./compile.sh src/java/nxt/util/Logger.java:170: error: method doLog in class Logger cannot be applied to given types; doLog(Level.INFO, message); ^ required: Level,String,Exception found: Level,String reason: actual and formal argument lists differ in length Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 errorEDIT: looking for your revision now... compiles. let you know when i get a block not accepted out of it.
