Skip to content

What is Pencroff?

Pratham Rawat edited this page Mar 17, 2021 · 2 revisions

Pencroff is a robust Scala API that draws upon blockchain RPCs and stores their exact data, with no processing done. It then returns that data on the same HTTP endpoints of the original node.

It's functional and extensible design allows for much faster query performance and support of many different chains and networks. Pencroff is originally built to work with Conseil on Tezos, providing the query functionality that it needs to fully synchronize. However, more endpoints can easily be configured and added.

Pencroff has two main processes:

A block ingestor, which goes through the data structure, pulling RPC queries from a node and storing them in an internal hash map.

A data server, which provides query functionality off of the existing hash map.

Both of these processes run independently of each other. The block ingestor does not need the data server to be running, while the data server can serve stored blocks without the block ingestor adding new ones.

Clone this wiki locally