Comments (4)
Sorry, I should have been much clearer...I have a skeleton of this completed in my current branch that returns a CID from prefix with default values. CBOR encoding is still required and incomplete.
pub fn cid(mut self) -> cid::Cid {
let c = Prefix {
version: Version::V0,
codec: Codec::DagProtobuf,
mh_type: DEFAULT_HASH_FUNCTION,
mh_len: 0,
};
let new_cid = cid::Cid::new_from_prefix(&c, &[self.cached_bytes]);
self.cached_cid = new_cid;
self.cached_cid
}
from forest.
I have this implemented in my latest branch as it required for fn new
to return a new tipset.
from forest.
I have this implemented in my latest branch as it required for
fn new
to return a new tipset.
How are you doing the cbor encoding of the block? Is this branch available?
from forest.
Closing in favour of #46
from forest.
Related Issues (20)
- `Filecoin.EthEstimateGas` result is inaccurate on an offline RPC server
- Filecoin.EthEstimateGas
- Filecoin.StateVerifiedRegistryRootKey
- Filecoin.StateGetRandomnessDigestFromBeacon
- Filecoin.NetFindPeer
- Filecoin.StateGetRandomnessDigestFromTickets
- Filecoin.StateGetAllocationForPendingDeal HOT 1
- Filecoin.StateGetAllocationIdForPendingDeal HOT 1
- RPC methods required by Boost
- Forest can't bootstrap a Lotus node HOT 4
- Upload proof files to `filecoin-proof-parameters.chainsafe.dev`
- Forest admin tokens should not expire
- `Filecoin.EthGetBlockByHash` test/implementation is flaky HOT 2
- `Filecoin.EthGetBlockByNumber` test/implementation is flaky HOT 2
- Use `trustless-gateway.link` in lieu of `proofs.filecoin.io` HOT 5
- Monitoring stack default dashboard is not showing any data
- `forest-proxy` ideation
- Add finality-related params for `eth_getBlockByNumber` HOT 1
- Support Forest in offline mode with appending blocks
- Make `block_delay_secs` and `propagation_delay_secs` configurable
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.