2024-02-28 17:31:45 +00:00
|
|
|
# fluffy
|
|
|
|
# Copyright (c) 2021-2024 Status Research & Development GmbH
|
|
|
|
# Licensed and distributed under either of
|
|
|
|
# * MIT license (license terms in the root directory or at https://opensource.org/licenses/MIT).
|
|
|
|
# * Apache v2 license (license terms in the root directory or at https://www.apache.org/licenses/LICENSE-2.0).
|
|
|
|
# at your option. This file may not be copied, modified, or distributed except according to those terms.
|
|
|
|
|
2022-02-11 13:43:10 +00:00
|
|
|
## Portal History Network json-rpc debug & testing calls
|
2022-05-24 11:27:22 +00:00
|
|
|
proc portal_history_storeContent(dataFile: string): bool
|
2022-02-11 13:43:10 +00:00
|
|
|
proc portal_history_propagate(dataFile: string): bool
|
2022-09-29 06:42:54 +00:00
|
|
|
proc portal_history_propagateHeaders(dataFile: string): bool
|
2022-04-12 13:49:19 +00:00
|
|
|
proc portal_history_propagateBlock(dataFile: string, blockHash: string): bool
|
2022-10-18 11:07:32 +00:00
|
|
|
proc portal_history_propagateEpochAccumulator(dataFile: string): bool
|
|
|
|
proc portal_history_propagateEpochAccumulators(path: string): bool
|
2022-07-20 10:46:42 +00:00
|
|
|
proc portal_history_storeContentInNodeRange(
|
2024-02-28 17:31:45 +00:00
|
|
|
dbPath: string, max: uint32, starting: uint32
|
|
|
|
): bool
|
|
|
|
|
2022-07-20 10:46:42 +00:00
|
|
|
proc portal_history_offerContentInNodeRange(
|
2024-02-28 17:31:45 +00:00
|
|
|
dbPath: string, nodeId: NodeId, max: uint32, starting: uint32
|
|
|
|
): int
|
|
|
|
|
|
|
|
proc portal_history_depthContentPropagate(dbPath: string, max: uint32): bool
|
|
|
|
proc portal_history_breadthContentPropagate(dbPath: string): bool
|