Bitcoin Forum
May 03, 2024, 03:34:27 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: 1 wallet 1 account  (Read 1345 times)
bitcreditscc (OP)
Hero Member
*****
Offline Offline

Activity: 602
Merit: 501



View Profile
December 31, 2014, 08:17:02 PM
 #1

just want to know where in the source code i should change such that my wallet only ever has 1 address.

1714750467
Hero Member
*
Offline Offline

Posts: 1714750467

View Profile Personal Message (Offline)

Ignore
1714750467
Reply with quote  #2

1714750467
Report to moderator
1714750467
Hero Member
*
Offline Offline

Posts: 1714750467

View Profile Personal Message (Offline)

Ignore
1714750467
Reply with quote  #2

1714750467
Report to moderator
Each block is stacked on top of the previous one. Adding another block to the top makes all lower blocks more difficult to remove: there is more "weight" above each block. A transaction in a block 6 blocks deep (6 confirmations) will be very difficult to remove.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714750467
Hero Member
*
Offline Offline

Posts: 1714750467

View Profile Personal Message (Offline)

Ignore
1714750467
Reply with quote  #2

1714750467
Report to moderator
TechnoBibble
Member
**
Offline Offline

Activity: 179
Merit: 10


View Profile
December 31, 2014, 08:59:50 PM
 #2

Not sure with Core Client, But I use MultiBit for this.
DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4615



View Profile
December 31, 2014, 09:13:52 PM
 #3

Why would you want to do that?

That seems like a bad idea.

If you really want to do it, then take a look at the code for "coin control" and you can see there where it allows you to choose where the "change" from the transaction goes.  Force that to always use the same address, and force your wallet to always use coin control, and you should have pretty much what you're trying to do.
bitcreditscc (OP)
Hero Member
*****
Offline Offline

Activity: 602
Merit: 501



View Profile
December 31, 2014, 09:46:34 PM
 #4

Why would you want to do that?

That seems like a bad idea.

If you really want to do it, then take a look at the code for "coin control" and you can see there where it allows you to choose where the "change" from the transaction goes.  Force that to always use the same address, and force your wallet to always use coin control, and you should have pretty much what you're trying to do.

great idea thanks

simply put i am working on a project that requires a wallet to only have one address, i know this throws pseudo anonimty out the window, but i'll look at that later once i get it working with just one address.

Corenin
Legendary
*
Offline Offline

Activity: 1008
Merit: 1000



View Profile
December 31, 2014, 09:56:31 PM
 #5

why you need this feature, if you need just 1 address in 1 wallet then don't create many of them, and whenever you need create a new wallet with new address,you don't need to go through codes for this
bitcreditscc (OP)
Hero Member
*****
Offline Offline

Activity: 602
Merit: 501



View Profile
December 31, 2014, 10:09:27 PM
 #6

why you need this feature, if you need just 1 address in 1 wallet then don't create many of them, and whenever you need create a new wallet with new address,you don't need to go through codes for this

at first run, the wallet creates 100 addresses

bitcreditscc (OP)
Hero Member
*****
Offline Offline

Activity: 602
Merit: 501



View Profile
December 31, 2014, 10:18:09 PM
 #7

found it

Code:
max(GetArg("-keypool", 100), (int64_t) 0);

just in case someone else asks

DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4615



View Profile
December 31, 2014, 10:22:01 PM
 #8

- snip -
i know this throws pseudo anonimty out the window
- snip -

It throws individual pseudonymity out the window.
It throws the fungibility of the entire system out the window.
It reduces individual security a bit.
It increases misunderstanding of how bitcoin works.
It encourages poor design in the services that others provide to the wallet users.

Overall, its just a bad idea.  Bitcoin wasn't designed to be used that way, it wasn't meant to be used that way, and attempting to use it that way implies a misunderstanding of what a bitcoin address is supposed to be.
bitcreditscc (OP)
Hero Member
*****
Offline Offline

Activity: 602
Merit: 501



View Profile
December 31, 2014, 10:34:04 PM
 #9

- snip -
i know this throws pseudo anonimty out the window
- snip -

It throws individual pseudonymity out the window.
It throws the fungibility of the entire system out the window.
It reduces individual security a bit.
It increases misunderstanding of how bitcoin works.
It encourages poor design in the services that others provide to the wallet users.

Overall, its just a bad idea.  Bitcoin wasn't designed to be used that way, it wasn't meant to be used that way, and attempting to use it that way implies a misunderstanding of what a bitcoin address is supposed to be.

considering the sensitive nature of what this will eventually lead to, i am actually on the right track.

first i have to create a test environment for my ideas, and at least get it to work with a single address per wallet, before i try scaling it to multiple addresses in a single wallet

this is far from a production wallet, i have the idea, i have the math, now to get a working ALPHA  

eventually, it will have all that stuff returned to normal, but why try solve 2^5+e before i can get 1+1 right?

AnonBitCoiner
Sr. Member
****
Offline Offline

Activity: 1386
Merit: 326


Eloncoin.org - Mars, here we come!


View Profile WWW
January 01, 2015, 12:25:48 AM
 #10

Why would you want to do that?

That seems like a bad idea.

If you really want to do it, then take a look at the code for "coin control" and you can see there where it allows you to choose where the "change" from the transaction goes.  Force that to always use the same address, and force your wallet to always use coin control, and you should have pretty much what you're trying to do.

great idea thanks

simply put i am working on a project that requires a wallet to only have one address, i know this throws pseudo anonimty out the window, but i'll look at that later once i get it working with just one address.

What kind of project would that be...? I can't imagine an instance where I'd want that to be the case



 

 

 

 

 

 


▄▄████████▄▄
▄▄████████████████▄▄
▄██
████████████████████▄
▄███
██████████████████████▄
▄████
███████████████████████▄
███████████████████████▄
█████████████████▄███████
████████████████▄███████▀
██████████▄▄███▄██████▀
████████▄████▄█████▀▀
██████▄██████████▀
███▄▄█████
███████▄
██▄██████████████
░▄██████████████▀
▄█████████████▀
████████████
███████████▀
███████▀▀
Mars,           
here we come!
▄▄███████▄▄
▄███████████████▄
▄███████████████████▄
▄██████████
███████████
▄███████████████████████▄
█████████████████████████
█████████████████████████
█████████████████████████
▀█
██████████████████████▀
▀██
███████████████████▀
▀███████████████████▀
▀█████████
██████▀
▀▀███████▀▀
ElonCoin.org.
████████▄▄███████▄▄
███████▄████████████▌
██████▐██▀███████▀▀██
███████████████████▐█▌
████▄▄▄▄▄▄▄▄▄▄██▄▄▄▄▄
███▐███▀▄█▄█▀▀█▄█▄▀
███████████████████
█████████████▄████
█████████▀░▄▄▄▄▄
███████▄█▄░▀█▄▄░▀
███▄██▄▀███▄█████▄▀
▄██████▄▀███████▀
████████▄▀████▀
█████▄▄
.
"I could either watch it
happen or be a part of it"

▬▬▬▬▬
goosoodude
Hero Member
*****
Offline Offline

Activity: 584
Merit: 500



View Profile
January 01, 2015, 12:59:23 AM
 #11

Why would you want to do that?

That seems like a bad idea.

If you really want to do it, then take a look at the code for "coin control" and you can see there where it allows you to choose where the "change" from the transaction goes.  Force that to always use the same address, and force your wallet to always use coin control, and you should have pretty much what you're trying to do.

great idea thanks

simply put i am working on a project that requires a wallet to only have one address, i know this throws pseudo anonimty out the window, but i'll look at that later once i get it working with just one address.

What kind of project would that be...? I can't imagine an instance where I'd want that to be the case

Exchange or online wallets which may try to maintain the balance of the customer on chain. It may also allow customers to get their private key.






██████████████████████████████████████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████████████████████████████
███████████████████████████████████████████████████████████████████████▄▄▄███████████████████████
███████████████████████████████████████████████████████████████████████▀▀▀████████████████████████
██████████████████████████████████████████████████████████████████████████████████████████████████
█████████████████████████████████████████████████████████████████████████████████████████████████





...INTRODUCING WAVES........
...ULTIMATE ASSET/CUSTOM TOKEN BLOCKCHAIN PLATFORM...






gmaxwell
Staff
Legendary
*
Offline Offline

Activity: 4158
Merit: 8382



View Profile WWW
January 01, 2015, 02:34:06 AM
 #12

This is not good for security and it's also bad for not just your privacy but the privacy of everyone you transact with (and, ultimately) for all of Bitcoin. It also creates increased systemic risk for the system as parties that reuse addresses are trivially blockable and if many users are behaving in ways that can be blocked miners may be pressured to utilize their position in ordering transaction to block particular participants in the system, the same also applies to other services such as exchanges: if you behave in a identifiable way otherwise honest participants may be forced to block or seize your funds when they can.

Forcing a single address also generally incompatible with normal business practises. A Bitcoin address is emphatically not an "account"-- it's more like a serial number of a bill, alternatively it would be more accurate to think of it as an invoice number. Normal bitcoin usage requires you to use addresses to distinguish which of multiple payers has paid you.

For these reasons this behaviour is not generally supported by Bitcoin core and I question the level of understanding of the system of anyone who produces software which works in this manner.
bitcreditscc (OP)
Hero Member
*****
Offline Offline

Activity: 602
Merit: 501



View Profile
January 01, 2015, 02:36:49 AM
 #13

This is not good for security and it's also bad for not just your privacy but the privacy of everyone you transact with (and, ultimately) for all of Bitcoin. It also creates increased systemic risk for the system as parties that reuse addresses are trivially blockable and if many users are behaving in ways that can be blocked miners may be pressured to utilize their position in ordering transaction to block particular participants in the system, the same also applies to other services such as exchanges: if you behave in a identifiable way otherwise honest participants may be forced to block or seize your funds when they can.

Forcing a single address also generally incompatible with normal business practises. A Bitcoin address is emphatically not an "account"-- it's more like a serial number of a bill, alternatively it would be more accurate to think of it as an invoice number. Normal bitcoin usage requires you to use addresses to distinguish which of multiple payers has paid you.

For these reasons this behaviour is not generally supported by Bitcoin core and I question the level of understanding of the system of anyone who produces software which works in this manner.

Is this in response to my question? And did you read my reasons for wanting it that way?


Happy New Year everyone

gmaxwell
Staff
Legendary
*
Offline Offline

Activity: 4158
Merit: 8382



View Profile WWW
January 01, 2015, 02:42:50 AM
 #14

Is this in response to my question? And did you read my reasons for wanting it that way?
I did, but it doesn't follow. One does not need to use a constant address to have transparency. (As an aside, your goal has extreme scaling problems if implemented directly; part of the reason to have exchanges in the first place is to support high volume instantaneous transactions.)
bitcreditscc (OP)
Hero Member
*****
Offline Offline

Activity: 602
Merit: 501



View Profile
January 01, 2015, 03:00:48 AM
Last edit: January 01, 2015, 03:30:05 AM by bitcreditscc
 #15

Is this in response to my question? And did you read my reasons for wanting it that way?
I did, but it doesn't follow. One does not need to use a constant address to have transparency. (As an aside, your goal has extreme scaling problems if implemented directly; part of the reason to have exchanges in the first place is to support high volume instantaneous transactions.)

it doesnt follow because you do not know what i am trying to do. I (!wont) have scaling issues because the BTC blockchain has already shown it is capable of handling the expected number of transactions per hour. before going after what i am trying to do, maybe help out , and if i shoot myself in the foot, then so be it. But for now, please , since i am trying to get somewhere  how about giving me the directions i want.


DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4615



View Profile
January 01, 2015, 03:45:36 AM
 #16

- snip -
how about giving me the directions i want.
- snip -

What directions do you want that haven't been given to you yet?  I haven't seen any unanswered questions yet.
charlieSeen
Sr. Member
****
Offline Offline

Activity: 241
Merit: 250



View Profile
January 01, 2015, 04:39:43 AM
 #17

This is not good for security and it's also bad for not just your privacy but the privacy of everyone you transact with (and, ultimately) for all of Bitcoin. It also creates increased systemic risk for the system as parties that reuse addresses are trivially blockable and if many users are behaving in ways that can be blocked miners may be pressured to utilize their position in ordering transaction to block particular participants in the system, the same also applies to other services such as exchanges: if you behave in a identifiable way otherwise honest participants may be forced to block or seize your funds when they can.

Forcing a single address also generally incompatible with normal business practises. A Bitcoin address is emphatically not an "account"-- it's more like a serial number of a bill, alternatively it would be more accurate to think of it as an invoice number. Normal bitcoin usage requires you to use addresses to distinguish which of multiple payers has paid you.

For these reasons this behaviour is not generally supported by Bitcoin core and I question the level of understanding of the system of anyone who produces software which works in this manner.
While I do agree with the general principle of your statement, I would say that there are legitimate reasons why reusing an address does make sense (at least from a business standpoint). f

The first reason would be when a person/entity is owed a specific amount of bitcoin (measured in bitcoin) (either because they borrowed money, because they were provided goods/services or otherwise), but cannot pay the entire amount all at once (either because of financial difficulties - eg they do not have the money, because of the terms of the arrangements or otherwise *this applies mostly to the former). Since it is not always possible to accurately determine the "sending" address of a transaction (although most of the time it is), it may not be feasible for the person who owes money to get a new address to send to via an automated fashion for each payment and later proving they sent payment via signing a message from the 'sending' address. It may not be economically efficient for an entity to manually provide a new address every time a debtor is able to make a payment. The solution would be to give the debtor a single address to send payment to and the debt would be considered "paid" once 10 BTC worth of inputs are sent to such address (assuming a total amount owed of 10 BTC.

Another reason to reuse an address would be to maintain the integrity of a charity (this is the primary use, but other uses may be applicable as well). As I am sure you are well aware of, websites get hacked and domains get transferred without the consent of the owner of such domain more often then they should be (this may actually be somewhat of a threat to bitcoin). If potential donors had to contact, say the American Red Cross every time they wanted to make a donation then the money would not make it to the Red Cross in the event their website gets hacked (and the hacker directs donors to send bitcoin to address that the hackers control). Using a different address for each transaction in this case would result in donors sending money to the wrong entity. While traditionally, an honest trading partner would send the promised goods/services in the event they direct someone to send funds to an address they do not control, this does not apply with charities because they will use the specific funds received by the donor for the charitable cause. If there is a specific donation address for a charity that is well known then having a charity's website getting hacked would not cause this kind of problem.

While I agree that both of these scenarios would cause a lesser amount of privacy, I would argue that the benefits gained by using a single address in these scenarios (especially the latter) outweigh the drawbacks.
gmaxwell
Staff
Legendary
*
Offline Offline

Activity: 4158
Merit: 8382



View Profile WWW
January 01, 2015, 06:31:38 AM
 #18

The first reason would be when a person/entity is owed a specific amount of bitcoin (measured in bitcoin) (either because they borrowed money, because they were provided goods/services or otherwise), but cannot pay the entire amount all at once
This does fit within the model of "address as an invoice number", and it's strictly less harmful than other kinds of reuse. Though it would certainly be possible to provide multiple addresses for this purpose (the payment protocol accommodates this, IIRC). There may be reasons why the receiver cannot handle funds split up, and so the willingness to accept multiple payments really should be established up front or no payment should be made.

Quote
Another reason to reuse an address would be to maintain the integrity of a charity
This application was my primary inspiration for the type-2 deterministic wallet proposal, which became BIP32: The FSF started accepting Bitcoin donations and they asked about being able to issue receipts for donation in order to comply with IRS requirements for 501(c)(3) chartable contributions over $250 in value. Doing so required they use one address per contribution but they did not want to generate private keys on an exposed web server which could be hacked.

Quote
If potential donors had to contact, say the American Red Cross every time they wanted to make a donation then the money would not make it to the Red Cross in the event their website gets hacked (and the hacker directs donors to send bitcoin to address that the hackers control).
Using an extended pubkey to receive funds allows the sender to verify the correct receiver statically without reusing addresses. Though this is not yet common.

Quote
I would argue that the benefits gained by using a single address in these scenarios (especially the latter) outweigh the drawbacks.
Considering that the donor's ability to deduct donations is lost completely for donations over $250 if the recipient cannot issue receipts, and in the US an organization accepting quid-pro-quo donations without issuing receipts (which they cannot do if they're reusing addresses) is in violation of the tax code and could be subject to fines, I question your cost/benefit analysis in that context. Smiley
caga
Full Member
***
Offline Offline

Activity: 238
Merit: 100

www.secondstrade.com - 190% return Binary option


View Profile
January 01, 2015, 11:14:18 AM
 #19

Not sure with Core Client, But I use MultiBit for this.

How do you import private keys without getting one more address added to the wallet in Multibit?
Its always a problem for me.

bitcreditscc (OP)
Hero Member
*****
Offline Offline

Activity: 602
Merit: 501



View Profile
January 01, 2015, 03:18:47 PM
 #20


1) Your core wallet has no real help section
2) I just want to receive in this weird address i have and send from it.
3) I am not particularly worried about privacy since i only send to/from my account to maybe 8 other entities.
4) i have no wish to enhance my technical skills just so i can use money.

Money is meant to be easy and fast. the moment we start talking about change addresses and key pools, we loose half the world.

1 wallet 1 address does not affect the blockchain in anyway, so instead of going against it, we can simply say it's easier but it looses the pseudo-anonimty the standard wallet comes with.

simply, it works and it's simple to explain. That alone beats anything that you want to say. Simplified ideas always win, want proof? look at how the average user quickly adopts the easy solution thats explained very easily.

Pages: [1] 2 »  All
  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!