Skip to content

Commit

Permalink
Enable single account history tracking on consensus nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
jredbeard authored and mvandeberg committed Jun 7, 2017
1 parent de98c85 commit 2705fcd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/config-for-docker.ini
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ enable-plugin = witness account_history
bcd-trigger = [[0,10],[85,300]]

# Defines a range of accounts to track as a json pair ["from","to"] [from,to]
# track-account-range =
track-account-range = ["",""]

# Ignore posting operations, only track transfers and account updates
# filter-posting-ops =
Expand Down
4 changes: 4 additions & 0 deletions contrib/steemd.run
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ if [[ ! -z "$STEEMD_PRIVATE_KEY" ]]; then
ARGS+=" --private-key=$STEEMD_PRIVATE_KEY"
fi

if [[ ! -z "$TRACK_ACCOUNT" ]]; then
ARGS+=" --track-account-range=[\"$TRACK_ACCOUNT\",\"$TRACK_ACCOUNT\"]"
fi

NOW=`date +%s`
STEEMD_FEED_START_TIME=`expr $NOW - 1209600`
STEEMD_FEED_START_TIMESTAMP=`date --date=@$STEEMD_FEED_START_TIME +%Y-%m-%d:%H:%M:%S`
Expand Down

0 comments on commit 2705fcd

Please sign in to comment.