Update docs
This commit is contained in:
parent
22fdb9594d
commit
3337b9a98f
@ -156,10 +156,12 @@
|
|||||||
* [StateWaitMsg](#StateWaitMsg)
|
* [StateWaitMsg](#StateWaitMsg)
|
||||||
* [Sync](#Sync)
|
* [Sync](#Sync)
|
||||||
* [SyncCheckBad](#SyncCheckBad)
|
* [SyncCheckBad](#SyncCheckBad)
|
||||||
|
* [SyncCheckpoint](#SyncCheckpoint)
|
||||||
* [SyncIncomingBlocks](#SyncIncomingBlocks)
|
* [SyncIncomingBlocks](#SyncIncomingBlocks)
|
||||||
* [SyncMarkBad](#SyncMarkBad)
|
* [SyncMarkBad](#SyncMarkBad)
|
||||||
* [SyncState](#SyncState)
|
* [SyncState](#SyncState)
|
||||||
* [SyncSubmitBlock](#SyncSubmitBlock)
|
* [SyncSubmitBlock](#SyncSubmitBlock)
|
||||||
|
* [SyncUnmarkBad](#SyncUnmarkBad)
|
||||||
* [Wallet](#Wallet)
|
* [Wallet](#Wallet)
|
||||||
* [WalletBalance](#WalletBalance)
|
* [WalletBalance](#WalletBalance)
|
||||||
* [WalletDefaultAddress](#WalletDefaultAddress)
|
* [WalletDefaultAddress](#WalletDefaultAddress)
|
||||||
@ -3995,6 +3997,28 @@ Inputs:
|
|||||||
|
|
||||||
Response: `"string value"`
|
Response: `"string value"`
|
||||||
|
|
||||||
|
### SyncCheckpoint
|
||||||
|
SyncCheckpoint marks a blocks as checkpointed, meaning that it won't ever fork away from it.
|
||||||
|
|
||||||
|
|
||||||
|
Perms: admin
|
||||||
|
|
||||||
|
Inputs:
|
||||||
|
```json
|
||||||
|
[
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
]
|
||||||
|
```
|
||||||
|
|
||||||
|
Response: `{}`
|
||||||
|
|
||||||
### SyncIncomingBlocks
|
### SyncIncomingBlocks
|
||||||
SyncIncomingBlocks returns a channel streaming incoming, potentially not
|
SyncIncomingBlocks returns a channel streaming incoming, potentially not
|
||||||
yet synced block headers.
|
yet synced block headers.
|
||||||
@ -4130,6 +4154,23 @@ Inputs:
|
|||||||
|
|
||||||
Response: `{}`
|
Response: `{}`
|
||||||
|
|
||||||
|
### SyncUnmarkBad
|
||||||
|
SyncUnmarkBad unmarks a blocks as bad, making it possible to be validated and synced again.
|
||||||
|
|
||||||
|
|
||||||
|
Perms: admin
|
||||||
|
|
||||||
|
Inputs:
|
||||||
|
```json
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
```
|
||||||
|
|
||||||
|
Response: `{}`
|
||||||
|
|
||||||
## Wallet
|
## Wallet
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user