Skip to content

Instantly share code, notes, and snippets.

View sanket1729's full-sized avatar
💭
Bitcoin Minimalist

Sanket Kanjalkar sanket1729

💭
Bitcoin Minimalist
View GitHub Profile
fn cause(&self) -> Option<&error::Error> {
- None
+ match self{
+ Error::Secp(x) => Some(x),
+ x => Some(x),
+ }
#[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>
}
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