Auto Added by WPeMatico

SPV client TCP connection in python

I am trying to implement an SPV client in python (for my own learning). I want to start by making a simple TCP connection to a full node, but I either cannot get a response to my version message, or to my verack message if the version message goes through. I have referenced this and this is the code that I am trying to run: #Import dependencies import socket import time import random import struct import hashlib import binascii import ssl import socks # Binary encode the sub-version def create_sub_version(): sub_version = "/Satoshi:0.7.2/" return b'x0F' + sub_version.encode() # Binary encode…

Continue Reading SPV client TCP connection in python

Problem with the first Initialization of my LN node, dial tcp my-external-ip:9735: connect: connection timed out

Background I was following 402 Payment Required's LN video over here (https://www.youtube.com/watch?v=q0siLF9zmWo) and everything was good so far, until the moment of the first Initialization of my LN node, I got an (dial tcp my-external-ip:9735: connect: connection timed out) error. I was starting the Initialization by the following way lnd --externalip=X.X.X.X And I've my lnd configuration file with the following attributes alias= debuglevel=debug bitcoin.active=1 bitcoin.mainnet=1 bitcoin.node=bitcoind I created the file (before) I started the Initialization. Your environment version of lnd: I don't know, I guess it's the latest version. which operating system (uname -a on *Nix): Ubuntu 18.04 version of…

Continue Reading Problem with the first Initialization of my LN node, dial tcp my-external-ip:9735: connect: connection timed out

End of content

No more pages to load