Skip to content

Commit

Permalink
Merge branch 'hotstuff_integration' into rename_block_state_files
Browse files Browse the repository at this point in the history
  • Loading branch information
linh2931 authored Dec 2, 2023
2 parents 1934153 + bb30c14 commit 37cfbb3
Show file tree
Hide file tree
Showing 41 changed files with 1,511 additions and 1,116 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
# Leap

1. [Branches](#branches)
2. [Supported Operating Systems](#supported-operating-systems)
3. [Binary Installation](#binary-installation)
4. [Build and Install from Source](#build-and-install-from-source)
5. [Bash Autocomplete](#bash-autocomplete)

Leap is a C++ implementation of the [Antelope](https://github.com/AntelopeIO) protocol. It contains blockchain node software and supporting tools for developers and node operators.

## Branches
Expand Down Expand Up @@ -208,3 +215,10 @@ It is also possible to install using `make` instead:
```bash
sudo make install
```

## Bash Autocomplete
`cleos` and `leap-util` offer a substantial amount of functionality. Consider using bash's autocompletion support which makes it easier to discover all their various options.

For our provided `.deb` packages simply install Ubuntu's `bash-completion` package: `apt-get install bash-completion` (you may need to log out/in after installing).

If building from source install the `build/programs/cleos/bash-completion/completions/cleos` and `build/programs/leap-util/bash-completion/completions/leap-util` files to your bash-completion directory. Refer to [bash-completion's documentation](https://github.com/scop/bash-completion#faq) on the possible install locations.
2 changes: 1 addition & 1 deletion benchmark/benchmark.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ std::map<std::string, std::function<void()>> features {
};

// values to control cout format
constexpr auto name_width = 28;
constexpr auto name_width = 40;
constexpr auto runs_width = 5;
constexpr auto time_width = 12;
constexpr auto ns_width = 2;
Expand Down
Loading

0 comments on commit 37cfbb3

Please sign in to comment.