Skip to content

Commit

Permalink
Add unregister messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Rigidity committed Dec 6, 2023
1 parent ec3a739 commit 9bc73c0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions chia-protocol/src/chia_protocol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@ pub enum ProtocolMessageTypes {
RespondBlockHeaders = 88,
RequestFeeEstimates = 89,
RespondFeeEstimates = 90,

// Extended wallet protocol
UnregisterForPhUpdates = 92,
UnregisterForCoinUpdates = 93,
}

pub trait ChiaProtocolMessage {
Expand Down
8 changes: 8 additions & 0 deletions chia-protocol/src/wallet_protocol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,14 @@ message_struct! (RespondToCoinUpdates {
coin_states: Vec<CoinState>,
});

message_struct! (UnregisterForPhUpdates {
puzzle_hashes: Vec<Bytes32>,
});

message_struct! (UnregisterForCoinUpdates {
coin_ids: Vec<Bytes32>,
});

message_struct! (CoinStateUpdate {
height: u32,
fork_height: u32,
Expand Down

0 comments on commit 9bc73c0

Please sign in to comment.