Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 2.25 KB

README.md

File metadata and controls

33 lines (21 loc) · 2.25 KB

Stellar Consensus Protocol code

This code has been extracted from stellar-core. It is built as a dependency of agora, and bindings are written in the D Programming Language to interact with it.

The path of each file matches the path in stellar-core relative to the root of the git repository, in order to make comparison and updating simpler. Files in extra are extra C++ files added to the build (e.g. to instantiate templates so the D side can use it).

Commit used for extraction: f31c8f90d7abc634fc89818e013a32dc5f2badc8 Timestamp of commit: Tue Jun 15 02:40:38 2021 -0700

Porting notes

Some files have been modified after porting:

Update process

  • Checkout stellar-core
  • Perform a full build (not an installation) using Stellar's instructions
  • Copy the required files
  • Update the bindings

The full build step is required to make sure the .h for XDR are up to date, as there is no XDR -> D converter, we use XDR -> C++ -> D instead. Alternatively, one can use the experimental update.d update script.

LICENSE

This code is distributed under the Apache License 2.0, as the rest of stellar-core.