Nxt

NXT 中的去中心化數據儲存系統 - 如何禁用 2 週數據修剪?

  • January 26, 2017

目前,NXT 平台能夠將數據儲存在其區塊鏈中,從而使其成為去中心化的數據儲存系統。但問題是每兩週從節點區塊鏈中清除數據以減少膨脹,並且只保留文件的雜湊值。我讀到您可以託管禁用此數據修剪並無限期保留數據的節點。如何才能做到這一點?

是的,您可以通過編輯conf/nxt-default.properties中的配置文件來禁用數據修剪

這將有效地使該節點成為NXT 存檔數據節點,我想您將來可以收費以檢索舊數據。

# Override the lifetime of prunable data to keep them longer, value in seconds.
# Set to -1 to disable pruning. Has no effect if set to less then the minimum
# required lifetime of two weeks (1209600 seconds) on mainnet, or 24 hours
# (86400 seconds) on testnet.
nxt.maxPrunableLifetime=0

# Always include prunable parts in transaction json, as long as still available,
# even if expired.
nxt.includeExpiredPrunable=false

只需在這些設置中將其更改為**-1true即可。**

引用自:https://bitcoin.stackexchange.com/questions/38774