Skip to content

Commit

Permalink
dev: move mempool to dev-features.sh
Browse files Browse the repository at this point in the history
The mempool dev cmd docs are too short for a dedicated file.
  • Loading branch information
erikarvstedt committed Jan 15, 2024
1 parent d112523 commit 22799d0
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 22 deletions.
24 changes: 24 additions & 0 deletions dev/dev-features.sh
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,30 @@ c journalctl -u clightning -f
# This should show log msgs like
# plugin-trustedcoin returning block 801409, 0000000000000000000482ddc4…, 1483968 bytes

#―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
# mempool
run-tests.sh -s mempool-regtest container

c systemctl status mempool
c systemctl status mysql
c nodeinfo

# Check backend
c curl -fsS localhost:8999/api/v1/blocks/1 | jq
c curl -fsS localhost:8999/api/v1/blocks/tip/height | jq
c curl -fsS localhost:8999/api/v1/address/1CGG9qVq2P6F7fo6sZExvNq99Jv2GDpaLE | jq

# Check frontend
c curl -fsS localhost:60845
c curl -fsS localhost:60845/api/mempool | jq
c curl -fsS localhost:60845/api/blocks/1 | jq
c curl -fsS localhost:60845/api/v1/blocks/1 | jq
c curl -fsS localhost:60845/api/blocks/tip/height | jq

# Open frontend
# shellcheck disable=SC2154
runuser -u "$(logname)" -- xdg-open "http://$ip:60845/"

#―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
# rtl
# see ./topics/rtl.sh
22 changes: 0 additions & 22 deletions dev/topics/mempool.sh

This file was deleted.

0 comments on commit 22799d0

Please sign in to comment.