Skip to content
This repository has been archived by the owner on Jul 15, 2018. It is now read-only.

SignatureKey -> Signature #110

Merged
merged 5 commits into from
Jun 11, 2018
Merged

SignatureKey -> Signature #110

merged 5 commits into from
Jun 11, 2018

Conversation

ebuchman
Copy link
Contributor

Ref #84

@liamsi can you add #88 so we can get the updated info for the docs: https://github.com/tendermint/tendermint/blob/master/docs/spec/blockchain/encoding.md#pubkeyed25519

We can probably simplify those docs a bunch by just using a table instead of all the verbosity I have there now ...

@ebuchman ebuchman requested a review from jaekwon as a code owner May 30, 2018 22:35
@liamsi
Copy link
Contributor

liamsi commented May 31, 2018

Yes, will add something that prints a table in markdown. This can be copy & pasted to update the documentation. Be aware that this also requires changes in amino though. (everything related to the type info is currently not exported).
Also, you only need the concrete types (not the interfaces), I assume?

@liamsi
Copy link
Contributor

liamsi commented May 31, 2018

How does this look to you:

Type Name Prefix Length Notes
PubKeyEd25519 tendermint/PubKeyEd25519 0x1624DE62 0x20
PubKeyLedgerEd25519 tendermint/PubKeyLedgerEd25519 0x5C3453B2 0x20
PubKeySecp256k1 tendermint/PubKeySecp256k1 0xEB5AE982 0x21
PrivKeyEd25519 tendermint/PrivKeyEd25519 0xA3288912 0x40
PrivKeySecp256k1 tendermint/PrivKeySecp256k1 0xE1B0F79A 0x20
PrivKeyLedgerSecp256k1 tendermint/PrivKeyLedgerSecp256k1 0x10CAB393 variable
PrivKeyLedgerEd25519 tendermint/PrivKeyLedgerEd25519 0x0CFEEF9B variable
SignatureEd25519 tendermint/SignatureKeyEd25519 0x3DA1DB2A 0x40
SignatureSecp256k1 tendermint/SignatureKeySecp256k1 0x16E1FEEA variable

@liamsi
Copy link
Contributor

liamsi commented May 31, 2018

updated the docs here: https://github.com/Liamsi/tendermint-1/blob/978277a4c18258a8aaa1a829c4924a31e96d9270/docs/spec/blockchain/encoding.md

I'm wondering if we even need the "Notes" column?

/cc @ebuchman

@ebuchman
Copy link
Contributor Author

ebuchman commented Jun 2, 2018

I'm wondering if we even need the "Notes" column?

Seems not, at least for now

liamsi added a commit to liamsi/tendermint that referenced this pull request Jun 2, 2018
@liamsi
Copy link
Contributor

liamsi commented Jun 2, 2018

Seems not, at least for now

OK, (manually) removed it in tendermint/tendermint#1662

@xla
Copy link
Contributor

xla commented Jun 11, 2018

@liamsi Let's fix for 0.8.0.

@xla xla added this to the 0.8.0 milestone Jun 11, 2018
@liamsi
Copy link
Contributor

liamsi commented Jun 11, 2018

PTAL @xla

Copy link
Contributor

@xla xla left a comment

Choose a reason for hiding this comment

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

👍 :octocat: :shipit: 🍡

@xla xla merged commit 260d69f into develop Jun 11, 2018
@xla xla deleted the bucky/sig-name branch June 11, 2018 23:57
@liamsi liamsi mentioned this pull request Jun 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants