Comments (4)
Also the old architecture.md document had this hierarchy:
- system/ contains core functionality, types and utilities.
- net/ is the p2p networking base layer.
- zk/ is the zk lisp virtual machine and related zk code.
- crypto/ for the transaction builder and merkle tree classes.
- node/ is a fully working darkfi node.
- wallet/ key generation and management features such as derivation and storage.
- service/ any services such as the cashier or gateways.
- chain/ blockchain database functionality and state transition.
- rpc/ interface for remote procedure calls, includes adapter to interface with the node backend and the default jsonrpc transport mechanism.
from darkfi.
We should keep rpc/
in the main library somewhere since it is very useful to be able to add a jsonrpc server to an app. Maybe under util/rpc/
?
service
can maybe go in node/service/
.
from darkfi.
i finished this part:
- moved wallet, client, service and state modules to node directory and made it a feature
- made blockchain directory work as a feature
- create zk directory and moved vm module to that
- moved serial and error modules to util directory
- moved darkfid, gatewayd, and drk binaries to sub-crates in bin/ directory
- moved cashierd and all the bridges to bin/cashier sub-crate
from darkfi.
as of commit #d001a140dc9ce4c26eaaa02f8e747da2b21c00c2 this is the current directory hierarchy:
/src
/chain
/cli
/crypto
/net
/node
/service
/wallet
/system
/tui
/tx
/util
/rpc
/zk
/bin
/cashierd
/darkfid
/drk
/ircd
/map
there are a few outliers that were not considered in the plans above, in particular:
/src
/tui
/cli
/bin
/map
any preferences on what to do with them?
from darkfi.
Related Issues (20)
- darkfid shutting down suddenly...
- error[E0463]: can't find crate for `core` HOT 1
- drk: build script doesn't enable optional dependency `play` HOT 5
- unable to build ircd on master HOT 1
- darkfid rpc stops listening after some time ("Error: Connection failed") HOT 2
- sync stuck at a past block. HOT 4
- Unable to connect to darkirc HOT 1
- Connection fails when switching from versioned ircd to darkirc HOT 2
- Cannot connect on returning to ircd HOT 2
- zkas improvements HOT 1
- Not working on RISCV boards such as VisionFiveV2 because of ring dependency set low on some package HOT 1
- DAGSyncFailed HOT 1
- Installation Instructions Missing `libclang-dev` HOT 4
- `darkifd` Doesn't Respond To CTRL+C HOT 2
- Improve nixos flake installation HOT 3
- question on make and rust workspace build process HOT 2
- Merge mining with Monero HOT 8
- error compiling ircd
- possible faulty ircd set up
- Soft-forkable header structure
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 darkfi.