zenon-network / go-zenon Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
@georgezgeorgez @sumamu @MoonBaZZe
I think we should have a process to add / remove maintainers from repos. In particular the go-zenon repo. It appears I have the ability to add maintainers.
How do you guys feel about this process? If someone wants to be added as a maintainer, they can submit a request for access in a GH issue. For now, we could require 100% of maintainers to approve the addition of new maintainers by responding yes in the GH issue.
Thoughts?
Can't run latest version, even with a valid genesis.json I see this error:
no valid genesis file. Reason: 'invalid genesis config. Failed to pass tests'. Stopping ...
Issue: embedded.sentinel.getDepositedQsr
returns null
when the address has 50,000 qsr deposited for a registered sentinel.
"This API call will return the amount of QSR the address has deposited in order to create a Sentinel."
z1qzgdv2ll8hjxfja0pdcdyk6gu9twxs4zutj39f is a registered Sentinel. Yet when I call this endpoint, it returns null
Steps to Reproduce:
request
curl -X POST https://my.hc1node.com:35997 \ ok
-H 'Content-Type: application/json' \
-d '{"jsonrpc": "2.0", "id": 14, "method": "embedded.sentinel.getDepositedQsr", "params": ["z1qzgdv2ll8hjxfja0pdcdyk6gu9twxs4zutj39f"]}'
response
{"jsonrpc":"2.0","id":14,"result":"0"}
I've confirmed the same response on the zenonhub.io API Playground
Link takes me here which is a 404
Line 54 in df3c89d
Possibly confusing
Ran into it when I used the controller to migrate a normal full node from testnet to alphanet that was previously deployed using the controller
It later properly stated no pillar registered after syncing to the network
go-zenon/consensus/election_algorithm.go
Line 39 in aee7ab6
Commented as:
// Generates a deterministic seed based on the context
// formula depends on seed, weights and momentumHeight
Function in practice only depends on height
my understanding is that the seed is used to create a random permutation on pillars which have been sorted by delegation weight
theoretically as long as the number of pillars is the same and the rank of a pillar is the same, a pillar can determine at which heights it will be chosen in advance
changing this would be a consensus change
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.