Waves Node 0.13.0 - TestNet release (Fair PoS + other)


#1

We have released TestNet version 0.13.0 with features:

  • Fair PoS (requires activation)
  • DataTransaction changes (string data type, increased value size)
  • Smart-contracts improvements

With this release, we’re rolling back Testnet blockchain to block 366057 to accommodate for changes in the way Sponsor Fee Transaction is signed. Please, use import/export routine or download the blockchain from the network.


#2

Hello!
I am here to report broken backwatds compatibility.
https://sg.katalystcoin.com/assets/balance/3PB3DxbSNZkWdzSn8QQPmrpwgwRkS15P3gT api call, node version 0.11.1 => used feeAsset
https://privatenode.blackturtle.eu/transactions/info/9jdaww7aF5JgZu3GvefRvTD7PvvTgckv7kovrBQab8WW api call, node version custom build but same methodes => used feeAssetId

This causing almost every tool and library to break.
Expected/wished behavior: use a legacy parameter since using feeAssetId does make a lot more sense however we can’t apps be broken.

Another non compatible change:
Remove the assetID field:
https://sg.katalystcoin.com/transactions/info/6wSooBUa4CUdha5EjzoUGsnj78PqhTDzL44qe37pi4ff
https://privatenode.blackturtle.eu/transactions/info/9PuQeQnhTHeHwa7YYGWpJZXJMWjCQZTeateRWVGJSvni


#3

Another piece that might be interested, we had a hard fork. These logs are from G1zmo his node. Mine nodes didn’t become forked. Not sure if you guys can use it our not, just reporting.

2018-05-23 23:45:43,320 DEBUG [nio-worker-group-3-4] c.w.network.NetworkServer$ - [d7a7813e] Connection refused: /139.99.193.84:6860, outgoing channel count: 0 2018-05-23 23:45:46,847 DEBUG [r.default-dispatcher-4311] s.a.h.CompositeHttpService - HTTP 200 OK from GET http://10.0.55.3:6862/blocks/headers/last 2018-05-23 23:45:48,103 INFO [nio-worker-group-3-1] c.w.n.HandshakeHandler$Client - [b6528ec2 89.40.8.55:6860] Accepted handshake Handshake(TNL,(0,11,2),TurtleNodeCustomNode2,1252628,Some(/89.40.8.55:6860)) 2018-05-23 23:45:49,106 DEBUG [rx-extension-loader-93] c.w.n.RxExtensionLoader$ - [b6528ec2 89.40.8.55:6860] Requesting signatures, last 100 are (total=100) [4JomNEa... -- 5E2xMBK...] 2018-05-23 23:45:49,149 DEBUG [rx-extension-loader-93] c.w.n.PeerDatabaseImpl - Blacklisting [b6528ec2 89.40.8.55:6860]: Signatures contain invalid block(s): 2JCnjc3TFbnSeQNvntZMwJaYdkXJaZxxoGejWz5ZGR12AdswLQtxmV14wJxun2e4oboPDdFFMpzacjMxnvpm9gXS, GenericError(Block Block(2JCnjc3TFbnSeQNvntZMwJaYdkXJaZxxoGejWz5ZGR12AdswLQtxmV14wJxun2e4oboPDdFFMpzacjMxnvpm9gXS -> 4GNG6RQ..., txs=0, features=Set()) is invalid: calculated hit 1019934225626141351 >= calculated target 1002896872562627042) 2018-05-23 23:45:49,150 DEBUG [rx-extension-loader-93] c.w.n.RxExtensionLoader$ - [b6528ec2 89.40.8.55:6860] Requesting signatures, last 100 are (total=100) [4JomNEa... -- 5E2xMBK...] 2018-05-23 23:45:49,150 DEBUG [nio-worker-group-3-1] c.w.n.PeerDatabaseImpl - Suspending [b6528ec2 89.40.8.55:6860] 2018-05-23 23:45:49,150 DEBUG [rx-score-observer-87] c.w.n.RxScoreObserver$ - [b6528ec2 89.40.8.55:6860] Best channel has been closed 2018-05-23 23:45:51,857 DEBUG [r.default-dispatcher-4295] s.a.h.CompositeHttpService - HTTP 200 OK from GET http://10.0.55.3:6862/blocks/headers/last 2018-05-23 23:45:53,068 INFO [nio-worker-group-3-2] c.w.n.HandshakeHandler$Client - [13952a55 167.99.192.19:6860] Accepted handshake Handshake(TNL,(0,11,2),HellenicNode TNFaucet,171032,Some(/167.99.192.19:6860)) 2018-05-23 23:45:54,071 DEBUG [rx-extension-loader-93] c.w.n.RxExtensionLoader$ - [13952a55 167.99.192.19:6860] Requesting signatures, last 100 are (total=100) [4JomNEa... -- 5E2xMBK...] 2018-05-23 23:45:54,095 DEBUG [rx-extension-loader-93] c.w.n.PeerDatabaseImpl - Blacklisting [13952a55 167.99.192.19:6860]: Signatures contain invalid block(s): 2JCnjc3TFbnSeQNvntZMwJaYdkXJaZxxoGejWz5ZGR12AdswLQtxmV14wJxun2e4oboPDdFFMpzacjMxnvpm9gXS, GenericError(Block Block(2JCnjc3TFbnSeQNvntZMwJaYdkXJaZxxoGejWz5ZGR12AdswLQtxmV14wJxun2e4oboPDdFFMpzacjMxnvpm9gXS -> 4GNG6RQ..., txs=0, features=Set()) is invalid: calculated hit 1019934225626141351 >= calculated target 1002896872562627042) 2018-05-23 23:45:54,096 DEBUG [rx-extension-loader-93] c.w.n.RxExtensionLoader$ - [13952a55 167.99.192.19:6860] Requesting signatures, last 100 are (total=100) [4JomNEa... -- 5E2xMBK...] 2018-05-23 23:45:54,096 DEBUG [nio-worker-group-3-2] c.w.n.PeerDatabaseImpl - Suspending [13952a55 167.99.192.19:6860] 2018-05-23 23:45:54,096 DEBUG [rx-score-observer-87] c.w.n.RxScoreObserver$ - [13952a55 167.99.192.19:6860] Best channel has been closed 2018-05-23 23:45:56,867 DEBUG [r.default-dispatcher-4313] s.a.h.CompositeHttpService - HTTP 200 OK from GET http://10.0.55.3:6862/blocks/headers/last 2018-05-23 23:45:58,348 DEBUG [nio-worker-group-3-3] c.w.network.NetworkServer$ - [6273c5aa] Connection refused: /139.99.193.84:6860, outgoing channel count: 0 2018-05-23 23:46:01,875 DEBUG [r.default-dispatcher-4309] s.a.h.CompositeHttpService - HTTP 200 OK from GET http://10.0.55.3:6862/blocks/headers/last 2018-05-23 23:46:03,365 INFO [nio-worker-group-3-4] c.w.n.HandshakeHandler$Client - [f2a6d7b8 160.119.100.96:6860] Accepted handshake Handshake(TNL,(0,11,2),NinjaTurtle (Alias: ninjaturtle),128437,Some(/160.119.100.96:6860)) 2018-05-23 23:46:04,367 DEBUG [rx-extension-loader-93] c.w.n.RxExtensionLoader$ - [f2a6d7b8 160.119.100.96:6860] Requesting signatures, last 100 are (total=100) [4JomNEa... -- 5E2xMBK...] 2018-05-23 23:46:04,536 DEBUG [rx-extension-loader-93] c.w.n.PeerDatabaseImpl - Blacklisting [f2a6d7b8 160.119.1 00.96:6860]: Signatures contain invalid block(s): 2JCnjc3TFbnSeQNvntZMwJaYdkXJaZxxoGejWz5ZGR12AdswLQtxmV14wJxun2e4oboPDdFFMpzacjMxnvpm9gXS, GenericError(Block Block(2JCnjc3TFbnSeQNvntZMwJaYdkXJaZxxoGejWz5ZGR12AdswLQtxmV14wJxun2e4oboPDdFFMpzacjMxnvpm9gXS -> 4GNG6RQ..., txs=0, features=Set()) is invalid: calculated hit 1019934225626141351 >= calculated target 1002896872562627042) 2018-05-23 23:46:04,537 DEBUG [nio-worker-group-3-4] c.w.n.PeerDatabaseImpl - Suspending [f2a6d7b8 160.119.100.96:6860] 2018-05-23 23:46:04,537 DEBUG [rx-score-observer-87] c.w.n.RxScoreObserver$ - [f2a6d7b8 160.119.100.96:6860] Best channel has been closed 2018-05-23 23:46:04,537 DEBUG [rx-extension-loader-93] c.w.n.RxExtensionLoader$ - [f2a6d7b8 160.119.100.96:6860] Requesting signatures, last 100 are (total=100) [4JomNEa... -- 5E2xMBK...] 2018-05-23 23:46:06,883 DEBUG [r.default-dispatcher-4302] s.a.h.CompositeHttpService - HTTP 200 OK from GET http://10.0.55.3:6862/blocks/headers/last 2018-05-23 23:46:08,343 DEBUG [nio-worker-group-3-1] c.w.network.NetworkServer$ - [c830782f] Connection refused: /139.99.193.84:6860, outgoing channel count: 0 2018-05-23 23:46:09,366 INFO [nio-worker-group-3-2] c.w.n.HandshakeHandler$Server - [abd2d97f 132.148.85.145:36288] Accepted handshake Handshake(TNL,(0,11,2),MapleNode.net 3JwSzCsBpTZtqxkfdj3KuZgZJ33BcTBnqQr,926860,Some(/132.148.85.145:6860)) 2018-05-23 23:46:10,558 DEBUG [rx-extension-loader-93] c.w.n.RxExtensionLoader$ - [abd2d97f 132.148.85.145:36288] Requesting signatures, last 100 are (total=100) [4JomNEa... -- 5E2xMBK...] 2018-05-23 23:46:10,762 DEBUG [rx-extension-loader-93] c.w.n.PeerDatabaseImpl - Blacklisting [abd2d97f 132.148.85.145:36288]: Signatures contain invalid block(s): 2JCnjc3TFbnSeQNvntZMwJaYdkXJaZxxoGejWz5ZGR12AdswLQtxmV14wJxun2e4oboPDdFFMpzacjMxnvpm9gXS, GenericError(Block Block(2JCnjc3TFbnSeQNvntZMwJaYdkXJaZxxoGejWz5ZGR12AdswLQtxmV14wJxun2e4oboPDdFFMpzacjMxnvpm9gXS -> 4GNG6RQ..., txs=0, features=Set()) is invalid: calculated hit 1019934225626141351 >= calculated target 1002896872562627042) 2018-05-23 23:46:10,764 DEBUG [rx-extension-loader-93] c.w.n.RxExtensionLoader$ - [abd2d97f 132.148.85.145:36288] Requesting signatures, last 100 are (total=100) [4JomNEa... -- 5E2xMBK...] 2018-05-23 23:46:10,766 DEBUG [rx-score-observer-87] c.w.n.RxScoreObserver$ - [abd2d97f 132.148.85.145:36288] Best channel has been closed 2018-05-23 23:46:11,893 DEBUG [r.default-dispatcher-4302] s.a.h.CompositeHttpService - HTTP 200 OK from GET http://10.0.55.3:6862/blocks/headers/last 2018-05-23 23:46:13,348 DEBUG [nio-worker-group-3-4] c.w.network.NetworkServer$ - [931fdfea] Connection refused: /139.99.193.84:6860, outgoing channel count: 0 2018-05-23 23:46:16,899 DEBUG [r.default-dispatcher-4309] s.a.h.CompositeHttpService - HTTP 200 OK from GET http://10.0.55.3:6862/blocks/headers/last 2018-05-23 23:46:18,352 DEBUG [nio-worker-group-3-1] c.w.network.NetworkServer$ - [e8f9acbf] Connection refused: /139.99.193.84:6860, outgoing channel count: 0 2018-05-23 23:46:21,907 DEBUG [r.default-dispatcher-4315] s.a.h.CompositeHttpService - HTTP 200 OK from GET http://10.0.55.3:6862/blocks/headers/last 2018-05-23 23:46:21,944 INFO [nio-worker-group-3-2] c.w.n.HandshakeHandler$Server - [2b952d84 167.99.205.172:35506] Accepted handshake Handshake(TNL,(0,11,2),Turtle Hellenic Node 3Jrd32GsqZApEBv3jvEiXUWoMu63wHmMHyW,1326523,Some(/167.99.205.172:6860))


#4

Hi, thanks a lot. We’ve found this issue on our dev-net as well. Before Fair PoS activation nodes of previous version may not accept blocks of new version in some situation. Looking for fix right now.


#5

Okay, keep us posted.


#6

I’m fixing API compatibility: see https://github.com/wavesplatform/Waves/pull/1130


#7

This is great!! Nice work :smiley:


#8

Release v0.13.1 on Testnet.
This is a bugfix release, we have fixed the bug in NXT PoS.
Please, don’t forget to remove existing blockchain data, because it contains invalid blocks. Import or download the correct fork from the network.