From d61113ad1222206674ef2e41bb90e38e07117641 Mon Sep 17 00:00:00 2001 From: Roy Crihfield Date: Thu, 3 Dec 2020 10:08:20 +0800 Subject: [PATCH] doc headers --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 172ab77..eeb5549 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,8 @@ This service can serve historical state data over the same rpc interface as ## Usage +### `serve` + To serve state diffs over RPC: `eth-statediff-service serve --config=` @@ -22,6 +24,8 @@ Available RPC methods are: * `statediff_stateDiffAt()` * `statediff_writeStateDiffAt()` +### `write` + To write state diffs directly to a database: `eth-statediff-service write --config=`