Skip to content

karlsen-network/karlsen-check-txs-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Karlsen TX Check

Example for understanding Karlsen TX acception.

Requirements

You need the following python modules, please install them with the appropriate command for your distribution.

python-grpcio
python-google-api-core

Running

Run python main.py it shows you the following output:

New block found: 42cea63a54b1ce37e704a3bc3b86cb0ffd65231a41df74fbfa5a6bdc10cac2af
TXs in block: ['135d1009c274497ee2f22945bd92b6024e5248cc0278c6a710007f0bbd10289f']
New block found: dae553721eb6cb99c8c3499c70156571cb6b436fda12987fea2e1108402af6d3
TXs in block: ['c4880f176f44dca94e5c5a6ef059382afc21538fa3f1b0211bfafd77077e5339']
New block found: 9913091b1ee686e5457e6984a0fa9e27060c1e465d21c98a10b8e6cc42205ad6
TXs in block: ['723bff0495ddb36366bc6448489a8df805185ce00f10284db0827928ccbcd035']
New block found: d78a2ed72b8baef041df95977205ea36428d6ed6a60774f796a883f36304098e
TXs in block: ['887b3f6850686b0bedfa6f2dc902298d6347f5b1b49e6018c5a881fd29a177a6']
New block found: c7bed45975c0c92ff2ade1ce4c52adea16080efa241862657000daca2f3fcf82
TXs in block: ['7d0f204425e04dfd77f5144cfe2d1e52d91df0a1b7d1f26391c79777ed124400']
New block found: 2a1ec5e909eb84bcd97ad9f4e2e60e77ae3d20d0fe71c0b8a4c6b68599c86ed7
TXs in block: ['154762a511db45e2e7db1fbd4e8bb080437ef027332cd8af525b986fcbddd030']
New block found: 25dff582c0a0cca4d7f2787b468c1f1c63c8082b55cfba966df69d7ddc567fa1
TXs in block: ['8f159d4dfbc99425b943c7825be23f0f1c4bed570621a0420c823574e0e44624']
New block found: 4c255aa16a1b98b03e87f426572fda6706f794ce40138a188d093d0a82cf1c9d
TXs in block: ['a86f027135c40164cc2a41b65593d0f49b8443d15ba66789dd3e426c3a2eb356']
VirtualSelectParentChainBlock (isChainBlock=True) dae553721eb6cb99c8c3499c70156571cb6b436fda12987fea2e1108402af6d3 just accepted the following TXs: ['135d1009c274497ee2f22945bd92b6024e5248cc0278c6a710007f0bbd10289f']
VirtualSelectParentChainBlock (isChainBlock=True) d78a2ed72b8baef041df95977205ea36428d6ed6a60774f796a883f36304098e just accepted the following TXs: ['c4880f176f44dca94e5c5a6ef059382afc21538fa3f1b0211bfafd77077e5339']
VirtualSelectParentChainBlock (isChainBlock=True) c7bed45975c0c92ff2ade1ce4c52adea16080efa241862657000daca2f3fcf82 just accepted the following TXs: ['887b3f6850686b0bedfa6f2dc902298d6347f5b1b49e6018c5a881fd29a177a6']
VirtualSelectParentChainBlock (isChainBlock=True) 2a1ec5e909eb84bcd97ad9f4e2e60e77ae3d20d0fe71c0b8a4c6b68599c86ed7 just accepted the following TXs: ['7d0f204425e04dfd77f5144cfe2d1e52d91df0a1b7d1f26391c79777ed124400']
VirtualSelectParentChainBlock (isChainBlock=True) 25dff582c0a0cca4d7f2787b468c1f1c63c8082b55cfba966df69d7ddc567fa1 just accepted the following TXs: ['154762a511db45e2e7db1fbd4e8bb080437ef027332cd8af525b986fcbddd030']
VirtualSelectParentChainBlock (isChainBlock=True) 4c255aa16a1b98b03e87f426572fda6706f794ce40138a188d093d0a82cf1c9d just accepted the following TXs: ['8f159d4dfbc99425b943c7825be23f0f1c4bed570621a0420c823574e0e44624']
VirtualSelectParentChainBlock (isChainBlock=True) 0bc1c762d5681b2be918c283a666c8bfb92e67850efb36031b108846be7bbedf just accepted the following TXs: ['a86f027135c40164cc2a41b65593d0f49b8443d15ba66789dd3e426c3a2eb356']

Block 0bc1c762d5681b2be918c283a666c8bfb92e67850efb36031b108846be7bbedf has now 5 confirmations.

About

Karlsen Network example for understanding TX acception

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%