Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic Question on Usage #20

Open
utdrmac opened this issue Mar 16, 2020 · 1 comment
Open

Basic Question on Usage #20

utdrmac opened this issue Mar 16, 2020 · 1 comment

Comments

@utdrmac
Copy link

utdrmac commented Mar 16, 2020

Does this library actually allow for a connection to a Tezos node over tezos P2P protocol? Or is this just a "helper library" for parsing/decoding blocks from the RPC?
The tagline for this project indicates it can connect to node, but reading the code, I'm not seeing anywhere where connections to nodes are made, nor the handshakes, etc.

@gsgalloway
Copy link
Contributor

This library is intended to be a re-implementation of foundational portions of the Tezos protocol, independent from the OCaml node's RPC interface. Its main utility is as:

  • a set of low-level utilities to enable higher-level applications to do such things as crafting and signing Operations, parsing and baking blocks, crafting and signing endorsements, and creating or invoking Michelson without requiring the forge RPC API or the tezos-client CLI
  • a library for use in fully-offline applications such as remote signers, where running a Tezos node may not be feasible

The library does not currently implement peer-to-peer connections. The subset of the protocol implemented to date includes peer-to-peer message formats, fee derivation logic and minimum fee calculations, and Micheline parsing and encoding (in development). Will revisit the tagline for more clarity.

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

No branches or pull requests

2 participants