iguana status - another day, another 3 coins added UNO, MZC, ZEC and bug fixes, starting on basilisk debugging

in iguana •  3 years ago 

Today got a pull request with 3 more coins UNO, MZC and ZEC. UNO took 8 minutes to sync due to only having 1 valid peer and it also crashed as it seems to have changed to merged mining along the way. Still within 10 minutes it was in realtime mode, though with just one peer not very reliable.

MZC was a first. Worked the first try and went all the way to realtime in 8 min 31 seconds

ZET is slowly syncing its 5 million! blocks. This is the most blocks I have seen of any coin yet and it looks like it will take a bit more than an hour. With so many blocks, the overhead for each block is just too much that one hour is probably as good as it will get. If you divide 5 million by 3600 seconds, that is well over 1000 blocks processed per second, ie less than 1 millisecond per block.

A couple bugs reported with listunspent, especially with the realtime spent status. makes sense as that was the trickiest part and I missed a few cases in the first pass during the recent marathon rewriting.

Assuming no other data integrity issues, next up is getting basilisk mode updated. It was working before pretty well, but along the way I changed things on the iguana side so they arent communicating with each other quite right.

For those newly following my ramblings, basilisk is a "lite node" mode for iguana. It uses pretty much all the same code, it just doesnt keep a copy of the blockchain locally. It does keep track of its own unspents locally so it knows what outputs it can spend and there is even a provision to bootstrap this from random peers. To create a new transaction, it can construct it using the information it has locally about its own unspents. It is in direct contact with the coin's p2p network, so it can submit transactions and monitor the new blocks for its transactions to be confirmed.

Since the iguana full node mode is so similar to basilisk lite mode, it is possible to have any specific coin in either mode. So you can have a full node for the coins you are most interested in and operate in basilisk mode for the coins you only occasionally use. Or basilisk for bitcoin and iguana for others will likely be a common configuration due to the sheer size of the bitcoin chain.

James

For those that dont know about basilisk, they are really cool!

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

thanks for information you,, cool video :D

ZET ended up taking about 2 hours, as it ran out of resources the first pass, so needed a second start to complete the ledger creation

Google "roko's basilisk" ..if you don't know what it is, you need to. It's analogous to, but different from, the "Daemon" described in Daniel Suarez's book of the same name.