Bitcoin Forum
May 11, 2024, 06:43:28 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Why am I receiving a negative? - electrum  (Read 448 times)
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
November 10, 2018, 01:59:40 AM
 #21



Which mean, channel all deposit to my cold wallet (ledger nano for example)

but by using my ledger nano xpub will mean there will be 10,000 addresses too, sending from here to a hot wallet for example will cost me huge fees too right?

*anyway is that how exchangers like binance do? channel all deposit to cold wallet first and sign for hot wallet later?
1. Yes it'll be more efficient fee wise.
2. No. They get you to send to an online wallet:
1. If the payment is say more than 0.01BTC a transaction is automatically broadcast to move the coins to cold storage.
2. If it's 0.01BTC or less then it'll store the input in a list ready to broadcast a transaction once enough funds are in that wallet to make it worth moving (say 0.05BTC).

I have seen sites send no fee transactions with dust and just hope they'll confirm at some point.

Some sites like you to message them first if you send high amounts to them so they can give you an address on their cold storage (its normally for 50BTC+ transactions though).
1715453008
Hero Member
*
Offline Offline

Posts: 1715453008

View Profile Personal Message (Offline)

Ignore
1715453008
Reply with quote  #2

1715453008
Report to moderator
1715453008
Hero Member
*
Offline Offline

Posts: 1715453008

View Profile Personal Message (Offline)

Ignore
1715453008
Reply with quote  #2

1715453008
Report to moderator
Once a transaction has 6 confirmations, it is extremely unlikely that an attacker without at least 50% of the network's computation power would be able to reverse it.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
artofwar (OP)
Member
**
Offline Offline

Activity: 142
Merit: 26


View Profile
November 10, 2018, 05:39:11 AM
 #22



Which mean, channel all deposit to my cold wallet (ledger nano for example)

but by using my ledger nano xpub will mean there will be 10,000 addresses too, sending from here to a hot wallet for example will cost me huge fees too right?

*anyway is that how exchangers like binance do? channel all deposit to cold wallet first and sign for hot wallet later?
1. Yes it'll be more efficient fee wise.
2. No. They get you to send to an online wallet:
1. If the payment is say more than 0.01BTC a transaction is automatically broadcast to move the coins to cold storage.
2. If it's 0.01BTC or less then it'll store the input in a list ready to broadcast a transaction once enough funds are in that wallet to make it worth moving (say 0.05BTC).

I have seen sites send no fee transactions with dust and just hope they'll confirm at some point.

Some sites like you to message them first if you send high amounts to them so they can give you an address on their cold storage (its normally for 50BTC+ transactions though).

I bet your number 2 is the answer for binance. may I do follow up question,  when user pay more than x amount, it will broadcast. what is broadcast mean? is broadcast means to sign transaction to send btc to new wallet/address?

is online wallet same meaning to hotwallet ?

If so, will this be the flow of your said example?:

Quote
userdeposit>>hotwallet/onlinewallet>>if-more-than-x>>cold wallet

what I did now is almost the same:

Quote
userdeposit>>Hotwallet>>90% of amount send to cold wallet.

so user withdrawal will use the same wallet that user deposit.

but the other guy in this thread say its better to move all to cold wallet like this

Quote
userdeposit>>coldwallet (ledgernano)>>send 10% to hotwallet


side note, I honestly thought bitcoin are like paper money. if you collect $1 from million people, you can spend 1million.

but in bitcoin if you collect 0.00001 from a million people, you cannot spend 10 bitcoin, you can only like spend maybe 50% of it or maybe you cant spend at all.
(because I made some test with 0.00001, it will cost like 225byte times 10sat = 2250 satoshi to send out 0.00001)
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
November 10, 2018, 07:53:11 PM
 #23

It was once possible to send with a profit. Now the bitcoin news seem to only cRe about the big guy who can afford 1 sat per byte fees.

The decentralised currency is no longer that.

Other currencies exist that are fee free (but they’re not very stable to the bitcoin price so I’d advise against using them).

Broadcasting a transaction is essentially broadcasting a signed transaction yes. You have to broadcast it because otherwise it’d just sit on your computer...

And I’d advise against doing it your way. It’s probably cheaper fee wise to use a cold wallet and send money to it and then have a secondary hot wallet for allowing people to withdraw funds.
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
November 16, 2018, 09:49:25 AM
Merited by artofwar (1)
 #24

It has nothing to do with "addresses"... It is all about "inputs".

If you create a transaction that spends 5 inputs from 1 address:
address1-input1
address1-input2
address1-input3
address1-input4
address1-input5

That is the same as spending 1 input from 5 different addresses (in one transaction):
address1-input1
address2-input1
address3-input1
address4-input1
address5-input1


In both instances, you are including 5 inputs. What the previous poster was suggesting is that you consolidate the deposits to your "cold storage"... IE.

address1-deposit1 --|
address2-deposit1   |
address3-deposit1   |--> coldStorageAddess-deposit1
address4-deposit1   |
address5-deposit1 --|

That way, when you want to spend from cold storage, you'd only need to spend 1 input, instead of 5.

As a side note, this is why a lot of exchanges and crypto service providers have set "minimum deposit" amounts... To avoid having to deal with lots and lots of tiny inputs that cost extra fees when they try to spend them.

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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
mocacinno
Legendary
*
Offline Offline

Activity: 3388
Merit: 4922


https://merel.mobi => buy facemasks with BTC/LTC


View Profile WWW
November 16, 2018, 09:57:12 AM
Last edit: November 16, 2018, 10:08:02 AM by mocacinno
 #25

Which mean, channel all deposit to my cold wallet (ledger nano for example)

but by using my ledger nano's xpub in my server to receive deposit, which mean there will be 10,000 addresses too, sending from here to a hot wallet for example will cost me huge fees too right?

*anyway is that how exchangers like binance do? channel all deposit to cold wallet first and sign for hot wallet later?

It's confusing when you're just starting out, but in reality you shouldn't focus on addresses... It doesn't matter if you derive 10.000 addresses from an xpub or just 50.
What's important is the amount of unspent outputs that are funding the addresses generated by your wallet. As soon as you want to spend those unspent output's you'll have to create a new transaction. The fee you'll have to pay to convince a miner to put your transaction in the block he/she is trying to solve depends on the size of the transaction (not the value).

Why? Because the size of the block is limited. A miner doesn't care if the value of the transaction is huge or very small, he just wants to optimize the sum of the fees of all transactions he can fit into the limited blockspace.
If you want your transaction confirmed, you'll have to make sure your fee (in satoshi per byte of transaction data) is within the top 1 Mb of transactions in the mempool... The fee needed for a fast confirmation fluctuates over time, so at times of low feerates, it makes sense to combine unspent outputs, so the fee you'll have to pay at times of high feerates is lower...

Since segwit, the blocks can be up to 4Mb in size, but the last 3Mb can only be filled with witness data, so don't worry about this untill you've mastered the rest of the protocol first (it'll only make things more confusing if you start reading about this first).

The size of your transaction increases with the number of unspent outputs you use an input and the number of new unspent outputs that'll be generated by your transaction.

So, in the end, things like hot wallet, cold wallet, number of addresses,... It doesn't matter... Your fee will depend on the type of wallet, the number of inputs and the number of outputs. It's a good idear not to create unnecessary transactions, and it might also be a good idear not to receive dust payments... If you're going to receive dust, try out the lightning network, switch to an altcoin or try to sell credit to your users in bigger chunks instead of accepting micro-payments.

Here's a neat tool to emulate the fee you'll have to pay when spending your unspent outputs:
https://coinb.in/#fees

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
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!