Skip to content
/ apollo Public
forked from salesforce/apollo

An experimental distributed ledger platform based on a sea of DAG Nodes

License

Notifications You must be signed in to change notification settings

robakid/apollo

 
 

Apollo

The Apollo project aims for a distributed ledger platform based on a sea of DAG nodes. As such, this project combines several interesting technologies. The underlying membership of Apollo is managed by the Fireflies secure communication layer. The consensus layer is supplied by Avalanche. An IPFS-esque DAG based DHT is provided in addition to DAG ledger state.

Requirements

Apollo requires the JDK 11+.

Apollo also requires Maven 3.6.1 and above.

Protocols

  • Fireflies - byzantine tolerant secure membership and communications
    • Assumes byzantine members (and allows one to parameterize the system according to the probability of such).
    • Creates an overlay network in which each member gossips with the successor of the member in a ring.
    • The monitoring ring is capable of detecting member crashes (failures).
    • Reliable group message flooding.
  • Avalanche - scalable, leaderless, byzantine fault tolerant consensus
    • Consensus on causal ordering of events with a high dynamic range of nodes.
  • Ghost- a Merkle directed acyclic graph (DAG) used for storing block data
    • An immutable, content-based, single hop Distributed Hash Table (DHT) in which the "key" of data stored is the hash of that data (meaning you look up data with the key).
    • Leverages the underlying Fireflies rings for consistent hash rings and single hop routing.

Not A Coin Platform(tm)

Apollo isn't designed for coins, rather as essentially a distributed database. Of course the systems of Apollo can be used for such, the design goals are much different. Thus, no coins for you.

Status

Note that Apollo is very much a work in progress. It is by no means a full featured, hardened distributed ledger platform. I am a strong believer in iterative development and believe it is the only way to create robust systems. Consequently, things are still changing, there is much experimental in the current work, and much left to be done. ;)

Requirements

Apollo is a pure Java application The build system uses Maven, and requires Maven 3.6.1+. The Maven enforcer plugin enforces dependency convergance and Apollo is built using Java 11.

Apollo is a multi module Maven project. This means that the various modules of Apollo are built and versioned as a whole, rather than being seperated out into individual repositories. This also means that modules refer to other modules within the project as dependencies, and consequently must be built in the correct order. Note that Maven does this by default, so there should be no issues. However, it does mean that you can't simply cd into a module and build it without building its dependencies first.

Building

To build Apollo, cd to the root directory of the repository and then do:

mvn clean install

Note that the install maven goal is required, as this installs the modules in your local repository for use by dependent modules within the rest of the build.

About

An experimental distributed ledger platform based on a sea of DAG Nodes

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%