bthpos / bth Goto Github PK
View Code? Open in Web Editor NEWBringing together the best of both worlds.
Home Page: http://bithereum.network
License: MIT License
Bringing together the best of both worlds.
Home Page: http://bithereum.network
License: MIT License
How soon will testnet release for windows?
When fetching the header of a block from the node using getblockheader
the json output is different than the raw hex output and leads to a corrupted block header data output.
fetching a block with raw output gives this here
beth-cli -rpcuser=xxx -rpcpassword=xxx -rpcport=xxx getblockheader 00000022407284e44b9ea0f975bf50f4237b786ef39be86161f9bf65b5108cb2 false
00000020cdcf548f0e41f7bfcdf5c621b49487e1aa2f7157106f060fc82f24b9040000002efbfd68d430b13c997a86a1315a02fca37d06a18af8eec179c71e27afc5e1dfb4cc0800000000000000000000000000000000000000000000000000000000009a963c5c1095001e05235f5a000050355a000000000000000000000000000000070000005be01d00640549b6c6e37b2203fc9c4b0a53232247340e6cdee2db2d83fa16cf975db5b650da843adf9a861f1b9ffa7acb39e7e1d0ab5b165109e1d9600e903b6c43aa43c25b3bf94ddd5e16330c0db02ee421fa5ce9ad0e5599108833f698aed3cca5d85074f193c3
fetching the same block with json format delivers a sligthly different data with missing several bytes here and there compared to the raw hex output !!!
beth-cli -rpcuser=xxx -rpcpassword=xxx -rpcport=xxx getblockheader 00000022407284e44b9ea0f975bf50f4237b786ef39be86161f9bf65b5108cb2
{
"hash": "00000022407284e44b9ea0f975bf50f4237b786ef39be86161f9bf65b5108cb2",
"confirmations": 6,
"height": 576692,
"version": 536870912,
"versionHex": "20000000",
"merkleroot": "dfe1c5af271ec779c1eef88aa1067da3fc025a31a1867a993cb130d468fdfb2e",
"time": 1547474586,
"mediantime": 1547470826,
"nonceUint32": 1516184325,
"nonce": "001de05b000000070000000000000000000000000000005a355000005a5f2305",
"solution": "0549b6c6e37b2203fc9c4b0a53232247340e6cdee2db2d83fa16cf975db5b650da843adf9a861f1b9ffa7acb39e7e1d0ab5b165109e1d9600e903b6c43aa43c25b3bf94ddd5e16330c0db02ee421fa5ce9ad0e5599108833f698aed3cca5d85074f193c3",
"bits": "1e009510",
"difficulty": 3517.229350104822,
"chainwork": "0000000000000000000000000000000000000000047e6d2d75a348be656faf11",
"previousblockhash": "00000004b9242fc80f066f1057712faae18794b421c6f5cdbff7410e8f54cfcd",
"nextblockhash": "00000069c21af6325eaec55d2c1092222bf59794d58001fb9ee34bb671d8ed50"
}
As a proof the last Solution Bytes from the Raw output
74f193c3
are nowhere to be found and missing in the json output field for the soultion !!!!
Also another byte that starts right after the nonce
64
is missing also in the json output !!!
Therefor the BlockChain Data output is corrupted and broken and can not be used !!!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.