Bitcoin Forum
May 05, 2024, 02:33:05 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 285 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.
1714919585
Hero Member
*
Offline Offline

Posts: 1714919585

View Profile Personal Message (Offline)

Ignore
1714919585
Reply with quote  #2

1714919585
Report to moderator
1714919585
Hero Member
*
Offline Offline

Posts: 1714919585

View Profile Personal Message (Offline)

Ignore
1714919585
Reply with quote  #2

1714919585
Report to moderator
1714919585
Hero Member
*
Offline Offline

Posts: 1714919585

View Profile Personal Message (Offline)

Ignore
1714919585
Reply with quote  #2

1714919585
Report to moderator
"If you don't want people to know you're a scumbag then don't be a scumbag." -- margaritahuyan
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714919585
Hero Member
*
Offline Offline

Posts: 1714919585

View Profile Personal Message (Offline)

Ignore
1714919585
Reply with quote  #2

1714919585
Report to moderator
HeRetiK
Legendary
*
Offline Offline

Activity: 2926
Merit: 2091


Cashback 15%


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.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
TryNinja
Legendary
*
Offline Offline

Activity: 2828
Merit: 6977



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).

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
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: 2870
Merit: 7464


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!