Ranking library for DApps
Go to file
Ricardo Guilherme Schmidt 606bd48d0a
first commit
2019-08-23 01:37:54 -03:00
app first commit 2019-08-23 01:37:54 -03:00
config first commit 2019-08-23 01:37:54 -03:00
contracts first commit 2019-08-23 01:37:54 -03:00
test first commit 2019-08-23 01:37:54 -03:00
utils first commit 2019-08-23 01:37:54 -03:00
.gitattributes first commit 2019-08-23 01:37:54 -03:00
.gitignore first commit 2019-08-23 01:37:54 -03:00
.npmrc first commit 2019-08-23 01:37:54 -03:00
CHANGELOG.md first commit 2019-08-23 01:37:54 -03:00
LICENSE first commit 2019-08-23 01:37:54 -03:00
README.md first commit 2019-08-23 01:37:54 -03:00
embark.json first commit 2019-08-23 01:37:54 -03:00
package.json first commit 2019-08-23 01:37:54 -03:00

README.md

Ranking for Dapps

Uses a linked list to return the ranking from top to last position.

The list is rearranged with help of offchain information of new element in front of the changing position.

The additional overhead in gas caused by this ranking should worth the faster and easier availability of ranking information.

This is useful for clients listing a ranking without having to process all positions data or relay on a pre processed caching server.