Use tagged serialization for blockchain config

also make the config types Clone and PartialEq
This commit is contained in:
LLFourn
2021-03-25 16:28:38 +11:00
parent 1e6b8e12b2
commit 882a9c27cc
5 changed files with 33 additions and 5 deletions

View File

@@ -361,7 +361,7 @@ struct EsploraGetHistory {
}
/// Configuration for an [`EsploraBlockchain`]
#[derive(Debug, serde::Deserialize, serde::Serialize)]
#[derive(Debug, serde::Deserialize, serde::Serialize, Clone, PartialEq)]
pub struct EsploraBlockchainConfig {
/// Base URL of the esplora service
///