mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-01-12 22:43:42 +08:00
docs: update docs with event observer changes
This commit is contained in:
@@ -464,8 +464,7 @@ Example:
|
||||
This payload includes data related to a single mutation to a StackerDB replica
|
||||
that this node subscribes to. The data will only get sent here if the
|
||||
corresponding chunk has already been successfully stored. The data includes the
|
||||
chunk ID, chunk version, smart contract ID, signature, and data hash; the
|
||||
consumer may request the chunk data itself with a follow-up GET request on the node.
|
||||
chunk ID, chunk version, smart contract ID, signature, and data.
|
||||
|
||||
This endpoint broadcasts events to `AnyEvent` observers, as well as to
|
||||
`StackerDBChunks` observers.
|
||||
@@ -477,10 +476,10 @@ Example:
|
||||
"contract_id": "STVN97YYA10MY5F6KQJHKNYJNM24C4A1AT39WRW.hello-world",
|
||||
"modified_slots": [
|
||||
{
|
||||
"slot_id": 0,
|
||||
"slot_version": 20,
|
||||
"data_hash": "9d26b8009ab4693d3792791a4ea5e338822b5631af94e567a485b7265ba0f107",
|
||||
"signature": "015814daf929d8700af344987681f44e913890a12e38550abe8e40f149ef5269f40f4008083a0f2e0ddf65dcd05ecfc151c7ff8a5308ad04c77c0e87b5aeadad31"
|
||||
"slot_id": 4,
|
||||
"slot_version": 1,
|
||||
"signature": "0073feb0a3b8794c95042ac23734eb0db226049665a52a4f7402499256c83d43dd4edf6eb2cb039d7f204b4c4076afde96aca143ea285ff40f10ed68cc6e5fcbc2",
|
||||
"data": "68656c6c6f20776f726c64"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user