Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dapphub/locktopus

sqlite file of locked values in the dmap
https://github.com/dapphub/locktopus

Last synced: about 2 months ago
JSON representation

sqlite file of locked values in the dmap

Awesome Lists containing this project

README

        

# locktopus

## Core term

`[ when slot zone name meta data ]`

- `when`: time entry was locked in the dmap (last event block time)
- `slot`: the slot in dmap data is stored at
- `zone`: dmap namezone
- `name`: the key that was set
- `meta`: the metadata, bit 0 is lock flag
- `data`: the data

## Core rule

Only add values that are locked in the dmap.

## Config

```
~/.locktopus/
config.jams
locktopus.sqlite
```

`config.jams`
```
{
eth_rpc
finality // time from lock time to last confirmed block time
}
```

## Command

The locktopus is a cache for `dmap walk` and other dmap resolvers.
In this repo make a command with just `dmap walk `, and have
it resolve via locktopus if entry is cached, otherwise look it up
and cache it if locked.

```
dmap walk
```

Returns:

```
meta: ...
data: ...
```