hexresearch / hexresearch/hschain

More compact encoding for Commit

Open
#242 1 comment 0 reactions 1 assignee Claimed by @Shimuuar View on GitHub
enhancement
Dominant language
C
Stars
4
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Problem with commit is it's quite large _and_ have to stored forever. So it's desirable to store it in most compact form possible. It's in fact quite redundant: most (2/3 at least) vote for the same BlockID but currently they're stored independently. Possible improvements:

1. Store commit as `Map (Maybe BlockID) (Address, Signature)` thus avoiding duplication of lock hash

2. We know all possible key in commit so we can go one step further and store them as `Map (Maybe BlockID) (Int,Signature)`, where Int is number of public key in sorted list.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.