Skip to content

Commit

Permalink
add: support for debug-message from bitcoin/bitcoin#28121
Browse files Browse the repository at this point in the history
  • Loading branch information
0xB10C committed Apr 18, 2024
1 parent d0eef19 commit 087866a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions json/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -842,6 +842,8 @@ pub struct TestMempoolAcceptResult {
pub allowed: bool,
#[serde(rename = "reject-reason")]
pub reject_reason: Option<String>,
#[serde(rename = "debug-message")]
pub debug_message: Option<String>,
/// Virtual transaction size as defined in BIP 141 (only present when 'allowed' is true)
/// Added in Bitcoin Core v0.21
pub vsize: Option<u64>,
Expand Down

0 comments on commit 087866a

Please sign in to comment.