pub enum AdaptorInfo {
Enum,
Numerical(MultiOracleTrie),
NumericalWithDifference(MultiOracleTrieWithDiff),
}
Expand description
Information about the adaptor signatures and the CET for which they are valid.
Variants§
Enum
For enumeration outcome DLC, no special information needs to be kept.
Numerical(MultiOracleTrie)
For numerical outcome DLC, a trie is used to store the information.
NumericalWithDifference(MultiOracleTrieWithDiff)
For numerical outcome DLC where oracles are allowed to diverge to some extent in the outcome value, a trie of trie is used to store the information.
Trait Implementations§
Source§impl Clone for AdaptorInfo
impl Clone for AdaptorInfo
Source§fn clone(&self) -> AdaptorInfo
fn clone(&self) -> AdaptorInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Readable for AdaptorInfo
impl Readable for AdaptorInfo
Source§impl Writeable for AdaptorInfo
impl Writeable for AdaptorInfo
Auto Trait Implementations§
impl Freeze for AdaptorInfo
impl RefUnwindSafe for AdaptorInfo
impl Send for AdaptorInfo
impl Sync for AdaptorInfo
impl Unpin for AdaptorInfo
impl UnwindSafe for AdaptorInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more