GithubHelp home page GithubHelp logo

Comments (4)

narodnik avatar narodnik commented on August 12, 2024

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.

narodnik avatar narodnik commented on August 12, 2024

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.

ghassmo avatar ghassmo commented on August 12, 2024

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.

lunar-mining avatar lunar-mining commented on August 12, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.