Bitcoin Forum
May 27, 2019, 12:39:23 PM *
News: Latest Bitcoin Core release: 0.18.0 [Torrent] (New!)
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Payment to one Core wallet received by another?!?!  (Read 114 times)
lukew
Jr. Member
*
Offline Offline

Activity: 75
Merit: 2


View Profile
November 04, 2018, 06:01:28 PM
Last edit: November 04, 2018, 06:20:58 PM by lukew
 #1

I have a test network setup and currently I'm on Testnet as I can't get a connection to my Regtest node from an Android wallet.

I have my development machine running a testnet node, and another machine running it's own testnet node. I've got the second machine (a prototype kiosk) connected to the network as normal with my development machine as a preferred peer (to download a few years of data faster). I've just made a payment from mobile wallet to the kiosk and it's been recieved by both machines. Tried the other way too, payment requested on my development machine is received by both nodes. The only command line args are "-testnet -addnode=192.168.1.8" on the kiosk and "-testnet" on dev machine.

I have also taken one node offline, sent payment to the other and when the first is started again, it receives the payment too.

The kiosk node up until last night hadn't been online for over 2 years, there's no way they are sharing a wallet.dat and I'm really confused.

Any ideas?

Edit: just noticed they both have the same balance and same transaction history.

Edit2: Made payment on one node, and a minute or so later, the other node also gave a transaction sent notification, but not recieved twice in mobile wallet.
PLAY OVER 3000 GAMES
LIGHTNING FAST WITHDRAWALS
PLAY NOW
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1558960763
Hero Member
*
Offline Offline

Posts: 1558960763

View Profile Personal Message (Offline)

Ignore
1558960763
Reply with quote  #2

1558960763
Report to moderator
1558960763
Hero Member
*
Offline Offline

Posts: 1558960763

View Profile Personal Message (Offline)

Ignore
1558960763
Reply with quote  #2

1558960763
Report to moderator
1558960763
Hero Member
*
Offline Offline

Posts: 1558960763

View Profile Personal Message (Offline)

Ignore
1558960763
Reply with quote  #2

1558960763
Report to moderator
HCP
Legendary
*
Offline Offline

Activity: 980
Merit: 1517

<insert witty quote here>


View Profile
November 05, 2018, 02:36:25 AM
Merited by HeRetiK (1)
 #2

Basically, both of your nodes are identifying transactions that belong to particular public keys that are contained within their respective wallet files. So, it would appear that you either have the same "wallet.dat" on each node... or the wallet files on each node contain the same public (or private) keys.

The way you have setup your network really makes no difference, neither does the "addnode" commandline args etc... The only way for this to happen, is that both nodes have the same keys.


Edit: just noticed they both have the same balance and same transaction history.
This pretty much confirms it.


Quote
Edit2: Made payment on one node, and a minute or so later, the other node also gave a transaction sent notification, but not recieved twice in mobile wallet.
It isn't making a second transaction... it is just "seeing" the original transaction.

Think of it like looking at your internet banking on your desktop computer (node 1)... and sending money to a friend.... then you look at the internet banking on your mobile device (node 2)... it'll show the same transaction, but doesn't mean that you have sent the money to your friend twice! Tongue

lukew
Jr. Member
*
Offline Offline

Activity: 75
Merit: 2


View Profile
November 05, 2018, 09:15:26 PM
 #3

Basically, both of your nodes are identifying transactions that belong to particular public keys that are contained within their respective wallet files. So, it would appear that you either have the same "wallet.dat" on each node... or the wallet files on each node contain the same public (or private) keys.

The way you have setup your network really makes no difference, neither does the "addnode" commandline args etc... The only way for this to happen, is that both nodes have the same keys.


Edit: just noticed they both have the same balance and same transaction history.
This pretty much confirms it.


Quote
Edit2: Made payment on one node, and a minute or so later, the other node also gave a transaction sent notification, but not recieved twice in mobile wallet.
It isn't making a second transaction... it is just "seeing" the original transaction.

Think of it like looking at your internet banking on your desktop computer (node 1)... and sending money to a friend.... then you look at the internet banking on your mobile device (node 2)... it'll show the same transaction, but doesn't mean that you have sent the money to your friend twice! Tongue

I think what's happened is years back I'd have copied the entire Bitcoin folder from one machine to another as syncing with an Atom D510 was extremely slow. I may use this odd situation to my advantage and see if I can use it to try double spending on Testnet. I know it wont do it, but I could do with testing my application out in that situation, both sending and receiving a double spent coin.
Thirdspace
Hero Member
*****
Offline Offline

Activity: 994
Merit: 654


Mixing reinvented for your privacy | chipmixer.com


View Profile
November 05, 2018, 11:56:17 PM
 #4

I think what's happened is years back I'd have copied the entire Bitcoin folder from one machine to another as syncing with an Atom D510 was extremely slow. ...
that's the reason both nodes have the same transaction history,
you copied the whole folder and made duplicate wallet on different machine
HCP's example of internet banking on desktop computer and mobile device perfectly explained it

Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!