-
Notifications
You must be signed in to change notification settings - Fork 310
Redis Data
Addy Yeow edited this page Mar 11, 2015
·
39 revisions
[KEY]
crawl:master:state value = 'starting', 'running'
node:ADDRESS-PORT-SERVICES field value
field = 'state'
value = '', 'up'
height value = HEIGHT (most common height)
height:ADDRESS-PORT value = HEIGHT (1 day TTL)
elapsed value = ELAPSED (seconds)
[LIST]
nodes values = [(TIMESTAMP, REACHABLE_NODES), ..]
[SET]
pending values = [(ADDRESS, PORT, SERVICES), ..]
[SORTED SET]
check score values
score = TIMESTAMP (epoch in seconds)
values = [(ADDRESS, PORT, SERVICES), ..]
This key is currently set by https://getaddr.bitnodes.io/#join-the-network
[KEY]
bestblockhash value = HASH
[LIST]
ping:ADDRESS-PORT:NONCE values = [TIMESTAMP, ..] (epoch for ping in milliseconds, 3 hours TTL)
[SET]
reachable values = [(ADDRESS, PORT, SERVICES, HEIGHT), ..]
open values = [(ADDRESS, PORT), ..]
opendata values = [(ADDRESS, PORT, VERSION, USER_AGENT, TIMESTAMP, SERVICES), ..]
[CHANNEL]
snapshot value = TIMESTAMP (epoch in seconds)
[KEY]
resolve:ADDRESS field value (1 day TTL)
field = 'hostname'
value = HOSTNAME
field = 'geoip'
value = (CITY, COUNTRY, LATITUDE, LONGITUDE, TIMEZONE, ASN, ORG)
[CHANNEL]
resolve value = TIMESTAMP (epoch in seconds)
[CHANNEL]
export value = TIMESTAMP (epoch in seconds)
[KEY]
rinv:TYPE:HASH value = TIMESTAMP (epoch in milliseconds)
lastblockhash value = HASH
[LIST]
ping:ADDRESS-PORT:NONCE values = [.., TIMESTAMP, ..] (epoch for pong in milliseconds, key must already exist)
rtt:ADDRESS-PORT values = [RTT, ..] (round-trip time in milliseconds, 3 hours TTL, max. 36 values)
[SORTED SET]
inv:TYPE:HASH score values (3 hours TTL)
score = TIMESTAMP (epoch in milliseconds)
values = [(ADDRESS, PORT), ..]