[bdk_chain_redesign] Introduce Append trait for additions

Before, we were using `core::ops::AddAsign` but it was not the most
appropriate.
This commit is contained in:
志宇 committed 2023-04-05 17:29:20 +08:00
1 parent 89cfa4d78e
commit da4cef044d
5 files changed
+28 -27

No files matched your search

+2
View File
@@ -7,6 +7,8 @@ use alloc::{borrow::Cow, vec::Vec};
use bitcoin::{secp256k1::Secp256k1, OutPoint, Script, TxOut};
use core::{fmt::Debug, ops::Deref};
use crate::Append;
use super::DerivationAdditions;
/// Maximum [BIP32](https://bips.xyz/32) derivation index.