Comments (4)
When I was doing this in the python implementation I came up with the --ephemeral
flag which took care of establishing a temporary directory in which all data would be housed. In most cases the desired shutdown behavior would be to cleanup this directory (delete it and all of its contents), though it would almost definitely be valuable to be able to retain this information. I would recommend potentially combining these two approaches ad doing this:
- Implement
--ephemeral
mode that uses a temporary directory withinXDG_CACHE_HOME
, using the node-id prefix solution outlined here for determining the directory - Leave some sort of marker in that directory to signal when the directory was last used
- Maybe make some form of automation that will cleanup this directory, or alternatively, make the
--ephemeral
flag automatically purge the oldest directories once there are too many.
from trin.
What's the reasoning for using the first few instead of last 8?
Now that I ask I'm guessing it's because the beginning part is more easily comparable by eye, like with git commit hashes.
Yeah, it is related to Jason's comment here.
from trin.
It will be better, if we change this to append the first few characters (instead of last 8)
What's the reasoning for using the first few instead of last 8?
Now that I ask I'm guessing it's because the beginning part is more easily comparable by eye, like with git commit hashes.
from trin.
PR #277 is ready for review 👍
from trin.
Related Issues (20)
- Fix the link to the network spec once PR is merged
- Bridge: Add static test fixtures to guarantee provider compatibility
- Bridge: Add support for fallback provider
- Use files from ethereum/portal-spec-tests directly in tests
- Fetching latest checkpoint can get stuck HOT 1
- Bridge: Randomized Backfill Strategy (for history)
- Redesign Bridge Architecture HOT 3
- Indexes are not created for SQL tables
- New database design HOT 6
- Add `total_difficulty` to header HOT 1
- RPC PongInfo struct enr_seq field should be u64
- Add project level rust-toolchain.toml HOT 5
- Why are we receiving so many duplicate offers from the same peer? HOT 2
- Have the bridge use HD ephemeral identities HOT 2
- Light Client still supports Goerli
- Web 3 HOT 1
- Flaky test: id_indexed_v1::store::tests::pruning_with_one_large_item
- Bridge(State): don't miss gossipping intermediate state roots
- State: `StateValidator` should verify that content belongs to the canonical chain
- Historyc Bridge: Improve the mechanism to switch to fallback provider when EL node is out of sync
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 trin.