Comments (3)
fn ticket_from_round // returns the ticket that is at round 'r' in the chain behind 'head'
seems we need some notion of round. Any thoughts on whats needed for this?
fn add_losing_ticket // adds the losing ticket to the chaintips manager so that blocks can be mined on top of it
why loosing ticket?
from forest.
Based on the specification, it seems they are using the term round interchangeably with epoch. They define an epoch as:
An epoch refers to the period over which a given random seed is used in Expected Consensus.
In the current Filecoin implementation, each round is an epoch.
@austinabell has stubbed ChainEpoch
in ferret/vm/src/runtime/mod.rs but looks like it still needs to be formally defined.
As for the losing ticket
I am not sure why they are referring it to as losing...based on everything else I've read it should be the winning ticket that blocks are mined on top of BUT the ChainTipsManager in the spec indicates losing...
from forest.
Closing this issue as I believe this to be essentially the TipIndex
tracker, just the wording chosen in the spec is poor. For example, tipset_from_round
is essentially get_tipset_by_epoch
which is included in #113
from forest.
Related Issues (20)
- FIP: Client Interoperability OpenRPC HOT 1
- Implement FIP-0091 HOT 4
- Filecoin.EthGetMessageCidByTransactionHash
- Improve `forest-cli` error message when making RPC calls with insufficient permission HOT 1
- `ChainNotify` erroneous behavior HOT 3
- cron: update known_blocks.yaml
- StateSectorPartition
- Proper testing for StateGetAllocation.
- `SignedMessage` JSON format incompatibility with Lotus
- Investigate why there is a spike in bad peers on startup.
- StateGetAllocations
- StateGetClaims
- Fix or remove flaky GC test HOT 2
- Various RPC discrepancies compared to Lotus HOT 9
- Fix `Filecoin.StateReplay` test (or implementation) HOT 9
- Fix `Filecoin.StateCall` test (or implementation) HOT 1
- Fix `Filecoin.NetAgentVersion`
- remove rpc::eth::BigInt
- Forest stuck on downloading headers
- API parity test failure in `Filecoin.StateCirculatingSupply` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from forest.