Guest
Login
Register
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Menu
Home
Help
Login
Register
BitShares Forum
/
Main
/
General Discussion
/
New fork resolution algorithm in bitshares_toolkit
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: New fork resolution algorithm in bitshares_toolkit (Read 1322 times)
0 Members and 1 Guest are viewing this topic.
December 13, 2014, 05:00:17 am
Reply
#2
sparkles
Full Member
Posts: 107
Re: New fork resolution algorithm in bitshares_toolkit
I will look into merging your latest code.
Logged
December 10, 2014, 08:35:08 pm
Reply
#1
dannotestein
Hero Member
Posts: 760
BitShares:
btsnow
New fork resolution algorithm in bitshares_toolkit
Hi sparkles,
I've pushed a rewritten fork resolution algorithm to bitshares_toolkit repo (
https://github.com/BitShares/bitshares/commit/96e00d39e8e41163a93310db369cd8c490e74589
).
Originally I planned to make patches to the old algorithm, but I found it had serious flaws both in resolving to the longest fork in all cases and in terms of performance, so I went for a clean rewrite. I have performed various manual tests on the new algorithm which all passed fine. Unfortunately, a DPOS chain doesn't present a lot of easy tests for fork resolution code (not many forks get generated), but I still strongly recommend you try the new algorithm on the sparkles blockchain now. Please let me know if you find any problems with the new algorithm and I can assist in resolving them.
Logged
http://blocktrades.us
Fast/Safe/High-Liquidity Crypto Coin Converter
Print
Pages: [
1
]
Go Up
« previous
next »
BitShares Forum
/
Main
/
General Discussion
/
New fork resolution algorithm in bitshares_toolkit