This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| fn cause(&self) -> Option<&error::Error> { | |
| - None | |
| + match self{ | |
| + Error::Secp(x) => Some(x), | |
| + x => Some(x), | |
| + } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #[derive(Clone, PartialEq, Eq, PartialOrd, Ord)] | |
| pub struct Miniscript<Pk, Pkh=hash160::Hash>{ | |
| ///A node in the Abstract Syntax Tree( | |
| node: astelem::AstElem<Pk, Pkh>, | |
| ///The correctness and malleability type information for the AST node | |
| ty: Option<types::Type>, | |
| ///Additional information helpful for extra analysis. | |
| ext: Option<types::extra_props::ExtData> | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sanket1729@sanket-ubuntu:~/bitcoin/src$ more ~/.bitcoin/bitcoin.conf | |
| prune=2000 | |
| testnet=1 | |
| server=1 | |
| daemon=1 | |
| rpcuser=sanket1729 | |
| rpcpass=testing | |
| zmqpubrawblock=tcp://127.0.0.1:28332 | |
| zmqpubrawtx=tcp://127.0.0.1:28333 | |
| sanket1729@sanket-ubuntu:~/bitcoin/src$ more ~/.lnd/lnd.conf |
NewerOlder