Tomasz Zdybał
Tomasz Zdybał
Simple, runnable example showing how to create and use `Client` should be added into README.md.
To enable gentle cleanup in case of interrupt (Ctrl+C), signal handler should be added to tests (setup method).
[`SubmitTx`](https://github.com/celestiaorg/go-cnc/blob/76fd1e3ad9062cdf9175b644a76778c8c0d92df3/client.go#L42) needs to be implemented. It's similar to `SubmitPFD`. Specs: https://docs.celestia.org/developers/node-api/#post-submit_tx Type returned by celestia-node is [`TxResponse`](https://github.com/celestiaorg/go-cnc/blob/76fd1e3ad9062cdf9175b644a76778c8c0d92df3/types.go#L21).
[`Balance`](https://github.com/celestiaorg/go-cnc/blob/76fd1e3ad9062cdf9175b644a76778c8c0d92df3/client.go#L37) method needs to be implemented. Specs: https://docs.celestia.org/developers/node-api/#get-balance Type returned by celestia-node ([`Coin`](https://github.com/cosmos/cosmos-sdk/blob/61a97ef3475d04364fe7d1836dc7385f83f52b5b/proto/cosmos/base/v1beta1/coin.proto#L14) from cosmos-sdk) is so small, that it can be simply created locally, without introducing dependency on cosmos-sdk.
`godoc` comments needs to be added to all public methods.
[`Header`](https://github.com/celestiaorg/go-cnc/blob/76fd1e3ad9062cdf9175b644a76778c8c0d92df3/client.go#L32) method needs to be implemented. Specs: https://docs.celestia.org/developers/node-api#get-headerheight Type returned by celestia-node is generated from [protobuf definition](https://github.com/celestiaorg/celestia-node/blob/main/header/pb/extended_header.proto). All protobuf definitions should be copied into this repository, instead of introducing a...
Few badges should be added to README.md - [ ] Build status - [ ] godoc.org / pkg.go.dev - [ ] goreportcard.com - [ ] Twitter badge
### Implementation ideas Currently during sync, blocks are processed in First Come, First Served manner. After first block at given height is processed, other at this height are completely ignored....
We should consider whether `p2p.seeds` is the appropriate name for the flag. In Tendermint terminology [seeds](https://docs.tendermint.com/v0.35/tendermint-core/using-tendermint.html#seed) exist to inform nodes to other peers, not to share headers and such. _Originally...