thor
thor copied to clipboard
A general purpose blockchain highly compatible with Ethereum's ecosystem
How can I generate a new address?
Why I donot see the code about the VTHO ? It doesnot contain the VET/VTHO releationship in the code, and I donot see the VET function in the code ?
``` func dprp(blockNumber uint32, time uint64) uint64 { var ( b4 [4]byte b8 [8]byte ) binary.BigEndian.PutUint32(b4[:], blockNumber) binary.BigEndian.PutUint64(b8[:], time) return binary.BigEndian.Uint64(thor.Blake2b(b4[:], b8[:]).Bytes()) } ``` 这个函数产生的随机数被用作于选择矿工: ``` func (s *Scheduler) whoseTurn(t...
想请教下唯链是否有抵抗长程攻击的相应机制,比如时间惩罚或者检查点之类的?
Hi guys, I developed a small tool for vechain smart contract development and testing. When developing smart contracts on Ethereum, we can use various auxiliary tools such as metamask, truffle,...
# Description - Adds ~~[OpenTelemetry Metrics ](https://opentelemetry.io/)~~ / [Prometheus Metrics](https://prometheus.io/docs/guides/go-application/) to thor - The API can now serve the `/node/metrics` endpoint with metrics for the node - Metrics can be...
# Description Increased coverage of the following files: `gen_structlog.go`: 36.96% -> 71.7% `logger.go`: 26.06% -> 70.4% `logger_json.go`: 0.00% -> 78.9% Fixes [#21](https://github.com/vechain/protocol-board-repo/issues/21)
# Description I had to add new functions in `node.go` to get the desired coverage. @libotony Please let me know what you think. Fixes # ([issue](https://github.com/vechainfoundation/protocol-board-repo/issues/32)) ## Type of change...
# Description This commit adds a test coverage suite for the `api/utils` package. # Checklist: - [x] My code follows the style guidelines of this project - [x] I have...