Skip to content

Update abci/app docs#2470

Merged
ebuchman merged 7 commits intodevelopfrom
bucky/docs
Sep 23, 2018
Merged

Update abci/app docs#2470
ebuchman merged 7 commits intodevelopfrom
bucky/docs

Conversation

@ebuchman
Copy link
Contributor

Improve documentation, including what's noted in #2467 (comment) and various issues.

@codecov-io
Copy link

Codecov Report

Merging #2470 into develop will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           develop   #2470      +/-   ##
==========================================
- Coverage    61.72%   61.7%   -0.02%     
==========================================
  Files          198     198              
  Lines        16358   16316      -42     
==========================================
- Hits         10097   10068      -29     
+ Misses        5434    5423      -11     
+ Partials       827     825       -2
Impacted Files Coverage Δ
mempool/mempool.go 74.63% <ø> (ø) ⬆️
libs/db/remotedb/remotedb.go 36.84% <0%> (-4.69%) ⬇️
consensus/reactor.go 73.15% <0%> (-0.79%) ⬇️
consensus/state.go 77.27% <0%> (-0.24%) ⬇️

@ebuchman
Copy link
Contributor Author

Merging, but please still review :)

@ebuchman ebuchman merged commit f5824bc into develop Sep 23, 2018
@ebuchman ebuchman deleted the bucky/docs branch September 23, 2018 05:14
Copy link
Contributor

@melekes melekes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great write-up!


### Gas

Ethereum introduced the notion of `gas` as an absract representation of the
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

abstract

This means it does not guarantee that committed blocks satisfy these rules!
It is the application's responsibility to return non-zero response codes when gas limits are exceeded.

The `GasUsed` field is ignored compltely by Tendermint. That said, applications should enforce:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

completely

By default, Tendermint uses the `syndtr/goleveldb` package for it's in-process
key-value database. Unfortunately, this implementation of LevelDB seems to suffer under heavy load (see
[#226](https://github.com/syndtr/goleveldb/issues/226)). It may be best to
install the real C-implementaiton of LevelDB and compile Tendermint to use
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

implementation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants