Bitcoin Forum
March 19, 2024, 10:37:29 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 [94] 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 ... 345 »
  Print  
Author Topic: [ANN][XEL] Elastic Project - The Decentralized Supercomputer  (Read 450418 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
unvoid
Hero Member
*****
Offline Offline

Activity: 535
Merit: 500



View Profile
September 17, 2016, 02:43:02 PM
 #1861

Code:
2016-09-17 14:40:20 INFO: Finished blockchain download
2016-09-17 14:40:22 INFO: Blockchain download in progress
2016-09-17 14:40:22 SEVERE: Error in blockchain download thread
java.lang.NullPointerException
        at java.io.ByteArrayInputStream.<init>(ByteArrayInputStream.java:106)
        at nxt.Appendix$PrunableSourceCode.validate(Appendix.java:575)
        at nxt.TransactionImpl.validate(TransactionImpl.java:1014)
        at nxt.BlockchainProcessorImpl.validateTransactions(BlockchainProcessorImpl.java:1434)
        at nxt.BlockchainProcessorImpl.pushBlock(BlockchainProcessorImpl.java:1326)
        at nxt.BlockchainProcessorImpl.access$1200(BlockchainProcessorImpl.java:38)
        at nxt.BlockchainProcessorImpl$1.downloadBlockchain(BlockchainProcessorImpl.java:550)
        at nxt.BlockchainProcessorImpl$1.downloadPeer(BlockchainProcessorImpl.java:270)
        at nxt.BlockchainProcessorImpl$1.run(BlockchainProcessorImpl.java:175)
        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)
2016-09-17 14:40:22 INFO: Finished blockchain download
2016-09-17 14:40:23 INFO: Blockchain download in progress
2016-09-17 14:40:24 SEVERE: Error in blockchain download thread
java.lang.NullPointerException
        at java.io.ByteArrayInputStream.<init>(ByteArrayInputStream.java:106)
        at nxt.Appendix$PrunableSourceCode.validate(Appendix.java:575)
        at nxt.TransactionImpl.validate(TransactionImpl.java:1014)
        at nxt.BlockchainProcessorImpl.validateTransactions(BlockchainProcessorImpl.java:1434)
        at nxt.BlockchainProcessorImpl.pushBlock(BlockchainProcessorImpl.java:1326)
        at nxt.BlockchainProcessorImpl.access$1200(BlockchainProcessorImpl.java:38)
        at nxt.BlockchainProcessorImpl$1.downloadBlockchain(BlockchainProcessorImpl.java:550)
        at nxt.BlockchainProcessorImpl$1.downloadPeer(BlockchainProcessorImpl.java:270)
        at nxt.BlockchainProcessorImpl$1.run(BlockchainProcessorImpl.java:175)
        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)


Same story on two my nodes after del nxt_test_db Sad

BTC: 1CMgHWx4wkAaAy2FfeCyPdedUExmhGhfi5
XEL: XEL-HCM8-KB6E-YFLK-8BWMF
1710844649
Hero Member
*
Offline Offline

Posts: 1710844649

View Profile Personal Message (Offline)

Ignore
1710844649
Reply with quote  #2

1710844649
Report to moderator
1710844649
Hero Member
*
Offline Offline

Posts: 1710844649

View Profile Personal Message (Offline)

Ignore
1710844649
Reply with quote  #2

1710844649
Report to moderator
1710844649
Hero Member
*
Offline Offline

Posts: 1710844649

View Profile Personal Message (Offline)

Ignore
1710844649
Reply with quote  #2

1710844649
Report to moderator
"I'm sure that in 20 years there will either be very large transaction volume or no volume." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1710844649
Hero Member
*
Offline Offline

Posts: 1710844649

View Profile Personal Message (Offline)

Ignore
1710844649
Reply with quote  #2

1710844649
Report to moderator
Evil-Knievel
Legendary
*
Offline Offline

Activity: 1260
Merit: 1168



View Profile
September 17, 2016, 03:11:59 PM
 #1862

Code:
2016-09-17 14:40:20 INFO: Finished blockchain download
2016-09-17 14:40:22 INFO: Blockchain download in progress
2016-09-17 14:40:22 SEVERE: Error in blockchain download thread
java.lang.NullPointerException
        at java.io.ByteArrayInputStream.<init>(ByteArrayInputStream.java:106)
        at nxt.Appendix$PrunableSourceCode.validate(Appendix.java:575)
        at nxt.TransactionImpl.validate(TransactionImpl.java:1014)
        at nxt.BlockchainProcessorImpl.validateTransactions(BlockchainProcessorImpl.java:1434)
        at nxt.BlockchainProcessorImpl.pushBlock(BlockchainProcessorImpl.java:1326)
        at nxt.BlockchainProcessorImpl.access$1200(BlockchainProcessorImpl.java:38)
        at nxt.BlockchainProcessorImpl$1.downloadBlockchain(BlockchainProcessorImpl.java:550)
        at nxt.BlockchainProcessorImpl$1.downloadPeer(BlockchainProcessorImpl.java:270)
        at nxt.BlockchainProcessorImpl$1.run(BlockchainProcessorImpl.java:175)
        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)
2016-09-17 14:40:22 INFO: Finished blockchain download
2016-09-17 14:40:23 INFO: Blockchain download in progress
2016-09-17 14:40:24 SEVERE: Error in blockchain download thread
java.lang.NullPointerException
        at java.io.ByteArrayInputStream.<init>(ByteArrayInputStream.java:106)
        at nxt.Appendix$PrunableSourceCode.validate(Appendix.java:575)
        at nxt.TransactionImpl.validate(TransactionImpl.java:1014)
        at nxt.BlockchainProcessorImpl.validateTransactions(BlockchainProcessorImpl.java:1434)
        at nxt.BlockchainProcessorImpl.pushBlock(BlockchainProcessorImpl.java:1326)
        at nxt.BlockchainProcessorImpl.access$1200(BlockchainProcessorImpl.java:38)
        at nxt.BlockchainProcessorImpl$1.downloadBlockchain(BlockchainProcessorImpl.java:550)
        at nxt.BlockchainProcessorImpl$1.downloadPeer(BlockchainProcessorImpl.java:270)
        at nxt.BlockchainProcessorImpl$1.run(BlockchainProcessorImpl.java:175)
        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)


Same story on two my nodes after del nxt_test_db Sad

This was a very important catch! This stress tested source-code pruning, meaning that source code that is older than 24 hours (testnet) can be safely removed from the blockchain.
The bug was that, after pruning, the source code was still tried to be executed!

There was a little bug which you found and which is fixed now! Thanks for testing!
unvoid
Hero Member
*****
Offline Offline

Activity: 535
Merit: 500



View Profile
September 17, 2016, 03:16:05 PM
 #1863


This was a very important catch! This stress tested source-code pruning, meaning that source code that is older than 24 hours (testnet) can be safely removed from the blockchain.
There was a little bug which you found and which is fixed now! Thanks for testing!

Everytime I found something serious I'm happy so I'm glad I can help as much as I can Smiley

BTC: 1CMgHWx4wkAaAy2FfeCyPdedUExmhGhfi5
XEL: XEL-HCM8-KB6E-YFLK-8BWMF
coralreefer
Sr. Member
****
Offline Offline

Activity: 464
Merit: 260


View Profile
September 17, 2016, 04:51:05 PM
 #1864

I thought maybe we could only average over the last blocks that HAD at least on POW included, but not sure if this is the right way to go.

This would leave the risk that a big miner could drive up the difficulty, then go offline leaving the remaining miners with such a difficult target that they may not get a POW reward for hours or days.

Could you please explain a little more how it is determined which Work Algo the miner gets (i.e. if there are currently 5 projects out there with different algos, how does the network decide which one I get).  If it's simply distributed evenly, then there may not be any issue here regarding the re-targeting; however, if there is a way for the miner to pick which algo they work on, then I would think they will figure out how to always go after the one with the best profitability based on difficulty / reward leaving some algos without any miners interested in working on them.

Evil-Knievel
Legendary
*
Offline Offline

Activity: 1260
Merit: 1168



View Profile
September 17, 2016, 05:03:12 PM
Last edit: September 17, 2016, 05:16:11 PM by Evil-Knievel
 #1865

This would leave the risk that a big miner could drive up the difficulty, then go offline leaving the remaining miners with such a difficult target that they may not get a POW reward for hours or days.

Could you please explain a little more how it is determined which Work Algo the miner gets (i.e. if there are currently 5 projects out there with different algos, how does the network decide which one I get).  If it's simply distributed evenly, then there may not be any issue here regarding the re-targeting; however, if there is a way for the miner to pick which algo they work on, then I would think they will figure out how to always go after the one with the best profitability based on difficulty / reward leaving some algos without any miners interested in working on them.

Actually, the miner can pick whichever work he likes. We had a debate over this a few months ago and we decided to leave it up to the miners. Some surely just want to contribute to specific programs (like the work owner wants to work for himself only, or someone has a specific hardware like GPUs which is siutable for specific works only). Other miners also may have different goals: some may want the steady income from the POW submissions, others go "all in" and mine those works with the greatest bounty fund in the hope to make the big score.

Yes, it may leave several works "untouched", but this is the "market aspect". If your work finds no miner on the market, you have to rethink the rewards/payouts you configured  Wink

This would leave the risk that a big miner could drive up the difficulty, then go offline leaving the remaining miners with such a difficult target that they may not get a POW reward for hours or days.

This one is indeed a tough one! Any idea? I thought it could be an option to leave it as it is right now, and give a hard limit to the number of unconfirmed POW inside the memory pool. This would "softly" limit the impact of flooding those POW bursts. Even a block creator could only include a limited number of POW in a block since the block is limited by the maximum block size This is not a perfect solution though, i think!
coralreefer
Sr. Member
****
Offline Offline

Activity: 464
Merit: 260


View Profile
September 17, 2016, 05:14:17 PM
 #1866

This one is indeed a tough one! Any idea?

Because Elastic mining really doesn't behave like the more traditional coins, maybe it should treat mining more like how a pool looks at it.  In this case there would be a fixed number of XEL per pow block and instead of all or nothing, you would get a percent based on how much hash you contribute.  So the target would only effectively be used to throttle the amount of POW submissions, and it could be set differently for different miners on the same block which just alters their percent of the reward.

I'd have to think more if there are any downsides but the more I been looking into mining xel, the network really looks like one big pool to me.  The pow mining is just shares to determine your percent of the pow reward for that algo, and the bounty is equivalent to the pool finding a block, and even that should probably be distributed evenly across miners (not 100% sure if that would be correct).

Anyway, this idea may be way off base, but I think with xel we need to think outside the box.
Bgjjj2016
Sr. Member
****
Offline Offline

Activity: 448
Merit: 250

Ben2016


View Profile
September 17, 2016, 05:25:58 PM
 #1867


This was a very important catch! This stress tested source-code pruning, meaning that source code that is older than 24 hours (testnet) can be safely removed from the blockchain.
There was a little bug which you found and which is fixed now! Thanks for testing!

Everytime I found something serious I'm happy so I'm glad I can help as much as I can Smiley
thank you ! You are another great asset along with EK for this project. Can't wait to see us mainstream with wallet and in exchanges ! Great Job !

My " I want that Old Toyota Camry very bad" BTC Fund :1DQU4oqmZRcKSzg7MjPLMuHrMwnbDdjQRM
Join the Elastic revolution! Elastic Network: The Decentralized Supercomputer 
ELASTIC WEBSITE|ANNOUNCEMENT THREAD|JOIN THE SLACK
hagie
Hero Member
*****
Offline Offline

Activity: 792
Merit: 501



View Profile
September 17, 2016, 06:53:24 PM
 #1868

Hi all,

the public node : https://elastic.cryptnodes.site isp updated to the latest git.

regards
coralreefer
Sr. Member
****
Offline Offline

Activity: 464
Merit: 260


View Profile
September 17, 2016, 08:33:43 PM
 #1869

Hi EK, can you look at how Fund Allocation and Distribution are calculated.  The display seems off, see image below:

     http://imgur.com/a/hVHEY

The actual results are correct, so this just seems to be a display issue.
singalone
Newbie
*
Offline Offline

Activity: 23
Merit: 0


View Profile
September 18, 2016, 07:52:06 AM
 #1870

EK you are very skillful developer, any ETA about launch? How is test going now?
josegines
Hero Member
*****
Offline Offline

Activity: 811
Merit: 531



View Profile
September 18, 2016, 08:14:21 AM
 #1871

EK you are very skillful developer, any ETA about launch? How is test going now?

least 3 weeks

Please tell, how much time left  to launch mainnet?

When there are 3 weeks no new bugs in the new version of the testnet (which will be released today).
https://bitcointalk.org/index.php?topic=1396233.msg16256670#msg16256670

QUBIC: a quorum-based computations protocol.- by Come-from-Beyond
What is Qubic?
Coinmarketcap(Qubic) Coingecko(Qubic)
akhavr
Full Member
***
Offline Offline

Activity: 235
Merit: 100



View Profile
September 18, 2016, 08:15:18 AM
 #1872

Finally got my time to build and run XEL.

Is this trace ok?

Code:
nxt.http.ParameterException
        at nxt.http.ParameterParser.getAccount(ParameterParser.java:243)
        at nxt.http.GetAccountTransactions.processRequest(GetAccountTransactions.java:28)
        at nxt.http.APIServlet.process(APIServlet.java:209)
        at nxt.http.APIServlet.doGet(APIServlet.java:153)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:800)
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1125)
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1059)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
        at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
        at org.eclipse.jetty.server.Server.handle(Server.java:497)
        at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:313)
        at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:248)
        at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:626)
        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:546)
        at java.lang.Thread.run(Thread.java:745)

I'm using latest git version of elastic-reference-client

Proceeding to build a miner.

PS my address is XEL-AAZZ-X7YL-94HK-6TBJB

akhavr
Full Member
***
Offline Offline

Activity: 235
Merit: 100



View Profile
September 18, 2016, 08:19:17 AM
 #1873

Aaaand....  Here's build defect for elastic-miner:

Code:
akhavr@yoga14 ~/src $ git clone https://github.com/OrdinaryDude/elastic-miner.git
[...]
akhavr@yoga14 ~/src $ cd elastic-miner
akhavr@yoga14 ~/src/elastic-miner $ ./compile.sh
javac: file not found: src/evil/ElasticPL/*.java
Usage: javac <options> <source files>
use -help for a list of possible options
akhavr@yoga14 ~/src/elastic-miner $ ls src
elastic_miner  ElasticPL

Fixing it is a no-brainer, yet, it better be fixed.  Need a pull request?

Also, starting miner gives

Code:
Retrieving work from server screwed up, most likely due to garbaged response.
java.lang.NullPointerException
at java.math.BigInteger.<init>(BigInteger.java:415)
at elastic_miner.Main.main(Main.java:75)

What I'm doing wrong?

josegines
Hero Member
*****
Offline Offline

Activity: 811
Merit: 531



View Profile
September 18, 2016, 08:21:05 AM
 #1874



I'm using latest git version of elastic-reference-client


This is old development tree.



Make a fresh clone of this repository : https://github.com/OrdinaryDude/elastic-core.git

This is the new 0.3.1 develop git.

regards
https://bitcointalk.org/index.php?topic=1396233.msg16265091#msg16265091

QUBIC: a quorum-based computations protocol.- by Come-from-Beyond
What is Qubic?
Coinmarketcap(Qubic) Coingecko(Qubic)
unvoid
Hero Member
*****
Offline Offline

Activity: 535
Merit: 500



View Profile
September 18, 2016, 11:51:04 AM
 #1875

If you are one of the donators and you want to know if you own XEL go to:
https://github.com/elastic-project/genesis-block/blob/master/genesis-block.json
or
http://elasticexplorer.org/share/donators.json
Don't go to http://elastic.pro/ and don't search there for your address because there are placed only addresses that participated in voting.



If you want to try XEL ( Elastic ):

Download testnet client https://github.com/OrdinaryDude/elastic-core.
Best if you download it trough git for future easy updates. Install git on your machine and:

git clone https://github.com/OrdinaryDude/elastic-core.git

Watch this video for instructions how to run it https://player.vimeo.com/video/178616474?quality=1080p and paste your address here to receive some XEL for testing and fun.

For Windows you have to run compile.bat to compile and run.bat to start XEL.



If you want to update XEL to the newest version (only if you downloaded trough git):

Stop your node (CTRL + C)
Go to main directory of XEL and:
Code:
git pull
./compile.sh
rm -rf nxt_test_db/
screen ./run.sh




BTC: 1CMgHWx4wkAaAy2FfeCyPdedUExmhGhfi5
XEL: XEL-HCM8-KB6E-YFLK-8BWMF
unvoid
Hero Member
*****
Offline Offline

Activity: 535
Merit: 500



View Profile
September 18, 2016, 11:58:14 AM
 #1876

What I'm doing wrong?

Please paste your address again once you'll properly compile and run 0.3.2

BTC: 1CMgHWx4wkAaAy2FfeCyPdedUExmhGhfi5
XEL: XEL-HCM8-KB6E-YFLK-8BWMF
wwdz99
Sr. Member
****
Offline Offline

Activity: 243
Merit: 250



View Profile
September 18, 2016, 12:29:37 PM
 #1877

EK you are very skillful developer, any ETA about launch? How is test going now?


Yee,EK is the first one who find the last NXT bug and got bounty 2014
unvoid
Hero Member
*****
Offline Offline

Activity: 535
Merit: 500



View Profile
September 18, 2016, 03:26:01 PM
 #1878

Moved explorer to US. Europe/Asia users may notice some lags.

Probably before mainnet I'll move it back to Europe into much stronger server. I'm afraid that once mainnet will launch there will be quite high traffic for couple of days.

BTC: 1CMgHWx4wkAaAy2FfeCyPdedUExmhGhfi5
XEL: XEL-HCM8-KB6E-YFLK-8BWMF
unvoid
Hero Member
*****
Offline Offline

Activity: 535
Merit: 500



View Profile
September 18, 2016, 05:37:18 PM
 #1879

I wrote app that sends 1 XEL every one minute to last block finder. Hope this will be dummy transactions for blockchain to test it more (and blockchain explorer, we need dummy transactions to test it). So we have at least one transaction every minute.

@ImI for this purpose please 1M XEL @ XEL-7UTR-VYZY-ZUZZ-DTJJ5

Thanks!


BTC: 1CMgHWx4wkAaAy2FfeCyPdedUExmhGhfi5
XEL: XEL-HCM8-KB6E-YFLK-8BWMF
Evil-Knievel
Legendary
*
Offline Offline

Activity: 1260
Merit: 1168



View Profile
September 18, 2016, 06:29:58 PM
 #1880

Version bump -> 0.3.3

This update is not very critical, so nobody really has to update.

Sometimes, it might happen that peers get blacklisted because they have
1. sent a POW for a transaction meeting a specific block's target value but
2. the receiver side already was ahead of the chain (maybe because it just forged a new block but not yet broadcasted it) with a different difficulty, rendering the received POW invalid and causing the peer to be blacklisted

Typical symptom was something like this happening occasionally when mining on the local node (this means, some other node has blacklisted us).
Code:
2016-09-18 20:25:08 FINE: Peer 108.61.177.169 version 0.3.2 returned error: {"error":"nxt.NxtException$NotValidException: Peer sends invalid transactions: [nxt.NxtException$NotValidException: Proof of work  is invalid: does not meet target]"}, request was: {"protocol":1,"requestType":"processTransactions","transactions":[{"senderPublicKey":"d9d5c57971eefb085e3abaf7a5a4a6cdb8185f30105583cdb09ad8f61886ec65","attachment":{"input":[1665498805,-467634391,-1035598394],"version.PiggybackedProofOfWork":1,"id":"7680446930260947479"},"subtype":2,"amountNQT":0,"signature":"d536bc11494fad4bdbfd1477463ce3bd9361ba336591af792fb3ad291b6d9e0acd55e6fa302fbb7af798f6e0b32ddb081b38a7429393793e802d0e7d0f733d3c","feeNQT":0,"ecBlockHeight":3945,"type":3,"deadline":3,"version":1,"timestamp":88928708,"ecBlockId":"17321588210217598091"}]}, disconnecting

The fix was to introduce a soft_unblock. Basically, we do not block peers that send POW which are invalid but were valid in the last 5 blocks. For this we have added a second Exception type. Besides the regular "NotValidException" (which causes a peer to be blacklisted) we now have the LostValidityException. If the lost validity happened not later than 5 blocks ago, there will be no blacklisting, the tx will just be dropped silently.


Fixes:
https://github.com/OrdinaryDude/elastic-core/commit/6e836ef42701ba799715bb16d55f00a51a87048f (The fix)
https://github.com/OrdinaryDude/elastic-core/commit/4da2959b90e1ef6fab4adf598c8345a357d4890e (Added LRU cache, and fixed little bug)
Pages: « 1 ... 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 [94] 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 ... 345 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!