Please use: https://hub.docker.com/r/aeternity/aeternal
10K+
The middleware is a caching and reporting layer which sits in front of the nodesof the aeternity blockchain. Its purpose is to respond to queries faster than the node can do, and to support queries that for reasons of efficiency the node cannot or will not support itself.
On startup, the middleware reads the entirety of the blockchain, and stores a denormalized version of the data in a PostgreSQL database.
The middleware answers a set of queries (listed below) on behalf of the node. Everything it doesn't itself answer it will forward to the node to handle. The goal here is to answer more quickly than the node, without sacrificing correctness.
A set of queries will list, for example, all transactions for a given account, all which transfer from one user to another, all between certain block heights, and so on
The middleware unpacks and stores all contract calls for which it has the bytecode, with the function called and the arguments. In the near future we will also store the return type and value. You can see all contract calls for a given contract.
You can see all active state channels, and for a given state channel, all of the related on-chain transactions
You can see all names registered, and also which names refer to a given address (reverse lookup).
You can see all active oracles. In the near future we will create an endpoint which lists all questions and responses from an oracle
(see below for more information).
The middleware permits you to subscribe to events via a websocket, and receive updates when the chain state changes. Currently you can subscribe to key blocks, micro blocks, and soon to all events involving a particular on-chain object (contract, account, ...).
For detailed information check the documentation.
Content type
Image
Digest
Size
46.5 MB
Last updated
about 7 years ago
docker pull aeternity/aepp-middleware