protocol

module
v0.14.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2020 License: Apache-2.0

README

OneLedger Protocol

This repo is the OneLedger blockchain full-node, which is currently an ABCi app based on low-level parts of the Tendermint consensus library

Table of Contents

Getting Started

Development

These instructions will get a copy of the OneLedger Protocol up and running on your local machine.

System Requirements

Ensure your system meets the following requirements:

  • Operating System must be one of the following:
    • macOS
    • A Debian-based Linux distribution
      • Ubuntu is recommended for the smoothest install, otherwise you will have to set up your distribution for installing PPAs
  • Go version 1.11 or higher
  • git
Install

First clone the repository for the OneLedger Protocol (pick any folder and clone it here):

$ git clone github.com/Oneledger/protocol

Install the required dependencies:

$ cd ./protocol
$ make install

General scripts for running the OneLedger Protocol are inside ./protocol/scripts

Make Targets

If everything is set up properly, you can begin testing the OneLedger Protocol with the make targets provided. Run the following scripts inside the ./protocol/ directory:

Target Description
make install Build and install a copy of Oneledger protocol in bin
make fulltest Test with send transaction in loadtest, makes use of test scripts in the /tests folder
make status Lists all running nodes, Check out the running status
make update Updata the dependencies
make install_c Enable the clevelDB

See Make Targets to see a list of make commands you can run to interact with the OneLedger Protocol.

License

The OneLedger Protocol is released under the terms of the Apache 2.0 license. See LICENSE.md for more details or visit https://www.apache.org/licenses/LICENSE-2.0.html.

Directories

Path Synopsis
btc
eth
Package for transactions related to Etheruem Package for transactions related to Etheruem Package for transactions related to Etheruem Package for transactions related to Etheruem Package for transactions related to Etheruem Package for transactions related to Etheruem
Package for transactions related to Etheruem Package for transactions related to Etheruem Package for transactions related to Etheruem Package for transactions related to Etheruem Package for transactions related to Etheruem Package for transactions related to Etheruem
ons
app
chains
ethereum
alias.go holds some type aliases from go-ethereum ecdsa.go contains some utility functions for reading and saving ECDSA keys
alias.go holds some type aliases from go-ethereum ecdsa.go contains some utility functions for reading and saving ECDSA keys
Package client holds data for access to our RPC interface
Package client holds data for access to our RPC interface
cmd
ons
Package log provides a logger
Package log provides a logger
olvm
scripts
btc
Package service provides bindings for collecting services into a map and registering the min one go
Package service provides bindings for collecting services into a map and registering the min one go
btc
tx
This file is for grabbing a leveldb instance without cleveldb support
This file is for grabbing a leveldb instance without cleveldb support

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL