Bitcoin Forum
July 09, 2024, 09:25:27 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Detecting when a private key has been swept  (Read 288 times)
kezown (OP)
Copper Member
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile
November 14, 2018, 10:59:31 AM
Last edit: November 14, 2018, 11:38:14 AM by kezown
 #1

Does anyone know how the Casascius Bitcoin Analyzer site knows when a coin is Active/Opened? I'm working on an idea that requires knowing when a private key has been swept by a mobile wallet.

Any info or resources that might be able to help me would be greatly appreciated.
HeRetiK
Legendary
*
Offline Offline

Activity: 2982
Merit: 2114


Playgram - The Telegram Casino


View Profile
November 14, 2018, 01:26:13 PM
Merited by cr1776 (1)
 #2

I guess the Casascius Bitcoin Analyzer site simply checks whether a Casascius address had an outgoing transaction.

Apart from that there's no way of knowing whether a private key has been swept because no such information is being tracked or held anywhere.

▄▄███████▄▄███████
▄███████████████▄▄▄▄▄
▄████████████████████▀░
▄█████████████████████▄░
▄█████████▀▀████████████▄
██████████████▀▀█████████
████████████████████████
██████████████▄▄█████████
▀█████████▄▄████████████▀
▀█████████████████████▀░
▀████████████████████▄░
▀███████████████▀▀▀▀▀
▀▀███████▀▀███████

▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
 
Playgram.io
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀

▄▄▄░░
▀▄







▄▀
▀▀▀░░
▄▄▄███████▄▄▄
▄▄███████████████▄▄
▄███████████████████▄
▄██████████████▀▀█████▄
▄██████████▀▀█████▐████▄
██████▀▀████▄▄▀▀█████████
████▄▄███▄██▀█████▐██████
█████████▀██████████████
▀███████▌▐██████▐██████▀
▀███████▄▄███▄████████▀
▀███████████████████▀
▀▀███████████████▀▀
▀▀▀███████▀▀▀
██████▄▄███████▄▄████████
███▄███████████████▄░░▀█▀
███████████░█████████░░
░█████▀██▄▄░▄▄██▀█████░
█████▄░▄███▄███▄░▄█████
███████████████████████
███████████████████████
██░▄▄▄░██░▄▄▄░██░▄▄▄░██
██░░░░██░░░░██░░░░████
██░░░░██░░░░██░░░░████
██▄▄▄▄▄██▄▄▄▄▄██▄▄▄▄▄████
███████████████████████
███████████████████████
 
PLAY NOW

on Telegram
TryNinja
Legendary
*
Offline Offline

Activity: 2884
Merit: 7190


Top Crypto Casino


View Profile WWW
November 14, 2018, 01:30:57 PM
 #3

The above.

Keep in mind that anyone could unpeel the Casascius, get the private-key but don't sweep the coins immediately. The only thing that identifies whenever it was swept is an outgoing transaction (like HeRetiK said).

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
kezown (OP)
Copper Member
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile
November 14, 2018, 01:44:22 PM
 #4

I guess the Casascius Bitcoin Analyzer site simply checks whether a Casascius address had an outgoing transaction.


Thanks for your reply.

This is what I need. How do I check if a specific address (that I know) had an outgoing transaction?
ABCbits
Legendary
*
Offline Offline

Activity: 2926
Merit: 7645


Crypto Swap Exchange


View Profile
November 14, 2018, 02:32:30 PM
Merited by aliashraf (2)
 #5

This is what I need. How do I check if a specific address (that I know) had an outgoing transaction?

There are few ways :
1. If you're running full node, add address as watch-only address. Then configure walletnotify to run script (https://bitcoin.stackexchange.com/questions/24457/how-do-i-use-walletnotify)
2. Use 3rd party API/service which notify when there's transaction related with specified address

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
bigmaster23
Full Member
***
Offline Offline

Activity: 518
Merit: 106


WWW.BLOCKCHAIN021.COM


View Profile
November 14, 2018, 06:42:54 PM
 #6

You can study programming and create a program that reads privatekey through your own program whether it was swept or not, also you can watch a btc address if it has an outgoing transaction by doing some website crawling and parsing.

keychainX
Member
**
Offline Offline

Activity: 374
Merit: 53

Telegram @keychainX


View Profile WWW
November 15, 2018, 07:52:54 AM
 #7

I guess the Casascius Bitcoin Analyzer site simply checks whether a Casascius address had an outgoing transaction.


Thanks for your reply.

This is what I need. How do I check if a specific address (that I know) had an outgoing transaction?

You need to build a block sniffer and create an sql database of all used keys, then updated the database for each mined blocks.

there are a few github repos, just use search, but most likely you could build your own, using python.

like this https://github.com/alext234/rpc-sniffer

you can also read more on this page
https://en.bitcoin.it/wiki/Raw_Transactions#listunspent_.5Bminconf.3D1.5D_.5Bmaxconf.3D999999.5D

Ideally you would set up your own full node with the full chain, run a block parser to create an preferably sql database of all txs and then update it whenever a new block is mined.

/KX

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!