Major Bata updates that occurred in 2018

Bata Cryptocurrency
3 min readJan 2, 2019

--

Bata 0.16 wallet was made fully compatible with existing 0.10 network to prevent chain split. We made new wallet running on old network accepting and generating old version of blocks to make transition smooth.

After majority of network, meaning all exchanges &pools were updated to 0.16 wallet Bata activated new block version by spork. All 0.10 wallets rejected new block and were just stuck on last v1 block.

Because of specific v2 block structure of Bata some pools had and still have problem to configure stratum correctly. Also there was a bug in stratum causing bad block generated even with right configuration. Pools had to merge stratum fix made by BSOD pool in cooperation with FxTC devs this summer to mine right blocks.

If any new public or private pool is trying to mine block without knowledge about buggy stratum they are mining wrong blocks and that is causing this warning about "miners appear to be experiencing issues". It has nothing to do with 0.10 wallets or protocol version.

And after than explanation I can go back to explain you why there was so much node rejections. As we activated some new features dynamically by spork we found a problem that wallets which synced blocks before sporks were synced they were not aware of new features and blocks seems to them as invalid. That's why we added offline spork database to 0.17 wallet. This will ensure wallet know right sporks values before blocks from network are received and prevent unwanted node rejections. It has again nothing to do with 0.10 wallets or protocol version.

Another thing is we had some troubles with masternodes. Please note that FxTC Core on which Bata Core is based is first ever masternode implementation in Bitcoin Core 0.17. This masternode code is still in development and we have to do lot of work to make it really very stable after all code changes made there. We practically made brand new blockchain without swap and without new genesis block and everything was activated dynamically by sporks.

Every change in blockchain needs to be fully deployed before activation. WIth spork it is better you don't need to activate changes in hardcoded time or block height but it is up to you as developer when you decide to activate change. As we didn't knew how fast pools and exchanges will update their daemons it was really helpful to use sporks to activate every step of Bata chain transition.

We also had a bug in first stage of transition and after v2 activation we were able to deactivate v2 and switch back to v1 without wallet update. It was really great to have that level of control.

With hardcoded changes you are not able to revert anything and you have to release new wallet update and ask pools and exchanges to update manually again which can cause chain stuck for hours or days if bug is preventing to mine new blocks. I think it was very good choice to use spork mechanism.

Written by Bata / Fxtc Dev - Uhlik

Bata Core 17.0.15 has now been released and is available to download via:

https://bata.io

https://github.com/BTA-BATA/Bataoshi/releases

Bata Core 17.0 Release notes:

DIP0001 activation removed due to bug causing wallet shutdown - With SegWit already implemented from original Bitcoin wallet it was just unnecessary redundancy.

Core 0.17 Features:

Better Coin Selection And Output Handling

Easier To Create And Use New Wallets
 
Scantxoutset Has Been Added

Non-HD To HD Wallet Upgrade

Blockchain Pruning Helps Users Avoid Storing All Of Blockchain Data

Watch-Only Wallets Where Every Address Is A Watch Only Address

Partially Signed Bitcoin Transactions (PSBTs)

More details on Github release.

Special Thanks to Fixed Trade Coin (FxTC) who we have been working in collaboration with.

Bata has combined the best features & newest cores of #Bitcoin & #Dash.

Fair launch 2015 - No premine.

5M in circulation / 10M Cap

Multiple Exchanges.

Coinomi Wallet + more

#Masternodes

Multi - algo
#scrypt #sha256d #nist5 #x11 #x16R #lyra2z

Hybrid Pos / Pow (multi-algo) - Planned

DEX - (Decentralized Exchange) Collaboration with PHC, FxTC & Bata

bata.io

--

--

Bata Cryptocurrency

Bata’s global payment network is open source & decentralized without any central authorities. POW & POS secure the network. https://bata.io