Bitcoin Forum
June 17, 2024, 10:05:16 AM *
News: Voting for pizza day contest
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 [35] 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 »
681  Bitcoin / Bitcoin Discussion / Re: [POLL] Is bigger block capacity still a taboo? on: November 17, 2023, 01:25:24 PM
I vote in favour of smaller block sizes because:

Bitcoin was created to be accessible to everyone. Thus, running a miner and running a node must be cheap hardware-wise. Don't underestimate the power of nodes for the Bitcoin networks. It's not just the miners. Increasing the block size will require more disk space. More disk space require more money. 20% of the world hold approximately 80% of the global wealth, so requiring more money isn't really fair after all.
682  Bitcoin / Bitcoin Discussion / Re: [POLL] Is bigger block capacity still a taboo? on: November 17, 2023, 11:47:38 AM
Has it ever crossed your mind that there is much less activity in both Dogecoin and Litecoin? Have you considered the fact that these are pretty much prone to the same problem?

That's exactly the thought I have for Monero.

I mean, the only chain I like apart from Bitcoin is Monero. I own some XMR too. I know that monero has a dynamic block size, depending on the congestion, which I also think is not the best idea.

But if you  look into Monero's average block size against Bitcoin's average block size, you will see Monero's is lower. Why? Bexause the traffic / activity in Monero is much smaller than the traffic in Bitcoin's blockchain.
683  Bitcoin / Bitcoin Technical Support / Re: Raspi 4 for Bitcoin Node: Still Compatible? on: November 17, 2023, 11:14:08 AM
I 've seen people mentioning RPi4 being loud using active cooling. That's true. I have bought this case, and the temperature is super stable at around 50 - 55 celcius. This case has no fan or active cooling, so if you combine it with an SSD, you will not even hear it working.
684  Bitcoin / Bitcoin Discussion / Re: El Salvador Nayib Bukele Portfolio Tracker on: November 17, 2023, 07:56:53 AM
Will the purchased BTC be used for the benefit of his country or for personal/supporter interests?

I think this is the BTC that he owns on behalf of El Salvador.

Check this: https://buybitcoinworldwide.com/treasuries/el-salvador/

The amounts match. Actually, 3000+ BTC look too much for a personal portfolio, but this is not a strong argument, I know.
685  Local / Ελληνικά (Greek) / Νομίζω χρειάζονται moderators on: November 16, 2023, 07:53:27 PM
Καλησπέρα,

Το ελληνικό board έχει ξεφύγει. Δεν ήρθα να μας σώσω, δεν με ενδιαφέρει ιδιαίτερα.

Ωστόσο βλέπω απαράδεκτες συμπεριφορές και δηλώσεις. Βρισίδια και αναίσχυντες εκφράσεις.

Όσοι θέλουν το forum τελείως ζούγκλα, να ξέρετε ότι υπάρχουν και άνθρωποι που δεν γουστάρουν να βλέπουν τόσο χαμηλού επιπέδου posts.

Ναι, δεν είμαστε υποχρεωμένοι ούτε να σας διαβάζουμε, ούτε να απαντάμε, αλλά έφτασε ο κόμπος στο χτένι.

Η μόνη παράκληση που κάνω είναι να σεβαστείτε ανθρώπους που ΔΕΝ θέλουν να διαβάζουν ύβρεις μέρα-νύχτα.

Μην ξεχνάτε ότι προσβάλλοντας με βρισιές έναν συμφορουμίτη, χαλάτε την ποιότητα των posts για όλους όσους διαβάζουν.

Υ.Γ. Δεν είμαι σε forums πολλά χρόνια, οπότε δεν ξέρω πολλά από forums.
Υ.Γ Θα ζητήσω να βρεθούν moderators γιατί δεν πάει άλλο.
686  Local / Ελληνικά (Greek) / Re: Μήπως αποτύχαμε ως ελληνική κοινότητα; on: November 16, 2023, 07:02:04 PM

Καλησπέρα.

Είμαστε φτιαγμένοι σαν λαός να αποτυγχάνουμε λόγω κακής νοοτροπίας...

Κι εγω θα διαφωνήσω με την γενίκευση αυτή. Καταρχάς η νοοτροπία είναι κάτι που φτιάχνει γενικώς. Ίσως θέλει να περάσουν γενιές, αλλά η νοοτροπία αποτελεί μια δυναμική κατάσταση.

Δεν θέλω να με παρεξηγήσεις, σέβομαι τη γνώμη σου, απλώς την εκφράζεις απόλυτα και δεν ξέρω αν όντως το σκέφτεσαι τόσο έντονα ή απλώς το λες έτσι.

Κάτι παρόμοιο μπορούμε να αντιληφθούμε και τώρα, όπου αντί να επενδύουν στο BTC η κοινότητα ψάχνει το κάθε ένα shitcoin το οποίο μπορεί να κάνει την εκτίναξη και να βγάλει μεγάλο κέρδος βραχυπρόθεσμα.

Ούτε αυτό είναι εξαιρετικά παράλογο. Όπως ανέφερε σωστά κάποιος παραπάνω, η ανάγκη για μια ζωή που δεν πηγαίνει "μήνα με το μήνα" είναι αυτή που οδηγεί ανθρώπους (όχι μόνο Έλληνες) στην αναζήτηση εύκολου χρήματος.

687  Bitcoin / Bitcoin Discussion / Re: Using Locktime for inheritance planning, backups or gifts on: November 16, 2023, 04:49:14 PM
This is one of the best topics in the forum.

I am wondering if I could use it for emergency reasons.

I am thinking of following the steps below:

1. I have a wallet (let's call it "CLAIRE"), in which I have some UTXOs and I want to send them all in case something happened to me.
2. I will create a wallet using Electrum on Tails on a permanently airgapped pc. Let's call this wallet "STEVE".
    a. I will keep dual backup of the seed phrase.
    b. I will take the first address from the first (default) account of this wallet.
3. I will create and sign a transaction from CLAIRE to STEVE's address (from step 2b). I will add a locktime (let's say 10 years from now - or more).
4. I will export and save the transaction both on paper and digitally.

Now, is the tricky part.

I need to let someone know where to find the seed phrase backup & the transaction.

Thoughts - Questions:
1. I will save the backups in 2 separate places, but in each place I am thinking of leaving both the transaction and the seed phrase, since STEVE is empty and it can't be funded for 10 years.
2. How would I notify the people I want on how to find the backups without exposing the backups to danger?
3. Would you also leave instructions on how to find CLAIRE's seed phrase? It is kind of dangerous, considering that this wallet is already funded.
688  Bitcoin / Development & Technical Discussion / Re: [Question] Fast way to check bulk address bitcoin balance on: November 16, 2023, 01:53:01 PM

3. The data is updated daily. I assume OP is trying to brute-force Bitcoin addresses, in which case that doesn't matter.


Are there still people trying to brute-force keys? I am amazed...
689  Bitcoin / Development & Technical Discussion / Re: [Question] Fast way to check bulk address bitcoin balance on: November 16, 2023, 12:59:42 PM
Do you read all the posts before reply?

I edited my post above and explained you have already mentioned it. I didn't carefully read your post, sorry.

OP is a lazy newbie, he want the code already done, just to run in one-click, he is not developer, maybe he doesn't know what a hashmap or a bloom filter is... if you see he only reply to the person who actually offer some code snippet

Ok, but OP can also import the file from LoyceV's website to an excel or something else and do the process manually. Excel would crash, now that I think about it.

In fact, OP wants something that can't be done with just one click.
690  Bitcoin / Development & Technical Discussion / Re: [Question] Fast way to check bulk address bitcoin balance on: November 16, 2023, 09:43:00 AM
Another solution to the problem:

Look into LoyceV's datasets: https://bitcointalk.org/index.php?topic=5254914.0

1. Download the daily data from there (it includes every address that has a balance).
2. Import them in a DB
3. Set your code to ask the DB if it includes the address you want. This will be much faster.

Optional tip: If you import batch addresses from the DB into a hashmap then you can check if it contains the address ULTRA FAST.



EDIT: It has already been mentioned by Yamane_Keto & albert0bsd above.
691  Bitcoin / Development & Technical Discussion / Re: Calculating the size of a transaction on: November 16, 2023, 07:23:40 AM
The perfect choice is a huge multisig, hidden in a single Taproot address. Then, you can have for example 1000-of-1000 multisig, and then if there is 10 BTC on such address, then you don't know if everyone owns 0.01 BTC, or how exactly this amount is splitted between all participants. But still, this is the song of the future, for now, we have widely deployed 2-of-2 multisigs, and not much more than that. But of course, more things are possible, even if we are not there yet.

Do you have any examples I could look into? Perhaps a mempool.space link with such a transaction?
692  Bitcoin / Development & Technical Discussion / Re: Calculating the size of a transaction on: November 15, 2023, 08:13:35 PM
Minimize the number of inputs and number of outputs. Ideally spend from taproot addresses and send to native segwit addresses, but in reality just use either native segwit or taproot, which ever you prefer, since the difference is very small.

There is not an ideal UTXO size after all. You need variety so you can use it wisely.

This is more difficult when you want privacy. The main issue is that Coinjoin implementations normally split UTXOs in standard UTXO sizes. For example in whirlpool the main pools are 100k sats and 1m sats. That said, if you put 750k sats, you must split it in 7 UTXOs of 100k sats and 50k sats for badbank.

Therefore you are kind of obligated to use specific UTXO sizes. At least, to my knowledge... If you have any suggestions on other tools and implementations I am glad to listen to them.
693  Bitcoin / Bitcoin Discussion / Re: Is Bitcoin an option for low- and middle-income countries [Fees & Costs] on: November 15, 2023, 06:57:49 PM
but not all people think Bitcoin is safe.

Safe as in it can be easily lost / forgotten / compromised, or safe as in "not very volatile" ?

Bitcoin's potential to lower remittance costs, especially in low and middle income nations, is quite relevant. The number shows that traditional remittances are expensive. Now is the time for Bitcoin to shine.

The only issue I see with this is that remittance costs are decided and applied by companies & governments, so they can easily be manipulated if they see that they lose from Bitcoin in market share.

For me personally, bitcoin is very helpful. Because as I said above, Bitcoin provides a very promising investment tool and it could be said that it does not look at economic class.
And cheap shipping costs too, are a special feature for bitcoin. Therefore, bitcoin is indeed an asset with a complete package.

I am glad to hear that. I don't know if Bitcoin is an asset with a complete package. What I do know, is that it's not governed by anyone. And this must be very well appreciated. There are flaws in Bitcoin, but personally I believe it is the best technological invention I have ever witnessed, alongside the Internet.
694  Bitcoin / Development & Technical Discussion / Re: Calculating the size of a transaction on: November 15, 2023, 06:48:04 PM
<~>

Brilliant, thanks! I really like how deep this link goes, but I need to study it further to understand it. Gonna need some time.



Formula:
For legacy address: vbyte= Input*148 + output*34 + 10 plus or minus input
For nested segwit: vbyte= Input*93 + output*32 + 10 plus or minus input
For segwit version 0: vbyte= Input*68 + output*31 + 10 plus or minus input
For pay-to-taproot: vbyte= Input*57.5 + output*43 + 10 plus or minus input

What do you mean "plus or minus input" ?

For 1 input and 2 outputs for segwit 0, the result should be 1*68 + 2*31 + 10 = 140 vB. Am I wrong?

I appreciate that you also provided me with a formula to calculate fees, even if it seems trivial! Cheers!



ScriptSigs will vary depending on a number of factors such as address type, locking script, grinding for small R values, and so on. These will also be calculated differently for segwit inputs given this is witness data. (Transactions spending segwit inputs will also need a segwit flag in the header). A standard P2PKH ScriptSig will typically be ~107 bytes. A standard P2WPKH segwit ScriptSig will typically be 107 vbytes, which will then work out to 26.75 bytes.

ScriptPubKeys will vary depending on the output type:
P2PKH - 25 bytes
P2SH - 23 bytes
P2WPKH - 22 bytes
P2WSH - 34 bytes
P2TR - 34 bytes

Here is a very thorough explanation which might help you further: https://bitcoin.stackexchange.com/questions/92689/how-is-the-size-of-a-bitcoin-transaction-calculated

Thanks mate. Very helpful information.



So, having seen all that, I assume:

1. It is always better (but of course rarely possible) to spend a whole UTXO, since it is the only way to have 1 and not 2+ outputs. Correct?
2. The amount of sats doesn't count at all, as it is always represented by 8 bytes of information in the output. Correct? I kinda knew that bit already, but I ask for clarification.

Finally,

Can you give 2-3 tips to follow if I wanted to create better transactions in terms of weight? Take for granted that I use coin-control by default, so I always choose the UTXOs I spend. What I want is a way to treat them more wisely.
695  Bitcoin / Development & Technical Discussion / Calculating the size of a transaction on: November 14, 2023, 08:30:09 PM
Problem: I have really been struggling with understanding how the transaction size is calculated.

Question: I will post my thoughts below. I will ask my questions with red color.

The best answer: Every answer is much appreciated. However, I would be very happy if one could also point an example, either from a real transaction or not.

A bitcoin transaction takes N inputs and produces X outputs.

The transaction includes the following parts:
Version
4 bytes
# of Inputs
(How many bytes is this ?)
Inputs
Each input's size (*)
# of Outputs
(How many bytes is this ?)
Outputs
Each output's size (**)
Locktime
4 Bytes

* Each input consists of the following fields:
TXID
32 bytes
VOUT
4 bytes
ScriptSig Size
(How many bytes is this ?)
ScriptSig
(How many bytes is this ?)
Sequence
4 Bytes

** Each output consists of the following fields:
Value
8 bytes
ScriptPubKey Size
(How many bytes is this ?)
ScriptPubKey
(How many bytes is this ?)

696  Bitcoin / Bitcoin Discussion / Re: Is Bitcoin an option for low- and middle-income countries [Fees & Costs] on: November 14, 2023, 04:46:19 PM
My country is certainly low-income, and it's a very crypto-friendly country. We have tons of exchanges, major foundations accept donations in Bitcoin and a few altcoins, and there's a general roadmap to gradually adopt legislation to become a good place for crypto businesses, as well as enable usage of Bitcoin as money.
Of course, many people still use international bank transfers, but Bitcoin is quite well-known. International fees really depend on a country, and sometimes there are no fees at all, but the exchange rate isn't great, and you often can't send fiat without exchanging it.

Sounds like a good choice for a country to have open mind.

You don't have to see Bitcoin like this, you have to see it as a global option of Becoming a very millionaire if you make the investment at these times

Ok, but I see Bitcoin as a new payments standard and not as an investment. Of course I appreciate the market going up, but I hope to see Bitcoin becoming a huge payments network.

697  Bitcoin / Bitcoin Discussion / Re: Is Bitcoin an option for low- and middle-income countries [Fees & Costs] on: November 13, 2023, 08:26:58 PM
The punchline is that the third world countries wouldn't use bitcoin for payment not because of the high transaction fee but because they see it more as an investment than a payment method.

That's a great thing about Bitoin. Isn't it? It can be used both as an investment and a payment method. I mean with FIAT you can pay, but because of inflation you can't just hold and wait for it to appreciate, since it will drop in value as time passes.
698  Bitcoin / Bitcoin Discussion / Re: Is Bitcoin and option for low- and middle-income countries [Fees & Costs] on: November 13, 2023, 07:57:12 PM
<~>

Thanks for the info. Looks like Bitcoin wins in all categories (fees, limits etc).
699  Bitcoin / Bitcoin Discussion / Re: Is Bitcoin and option for low- and middle-income countries [Fees & Costs] on: November 13, 2023, 07:11:08 PM
The fee varies around $7-$20 depending on the current exchange rate and the destination country chosen.

Isn't it too expensive? Also, since I don't know the application, is it a flat fee or a percentage of the total transacted value?
700  Bitcoin / Bitcoin Discussion / Re: Is Bitcoin and option for low- and middle-income countries [Fees & Costs] on: November 13, 2023, 07:04:12 PM
and Bitcoin can make that difference according to some of the numbers in the OP's report.

Can it? This is my point... I am afraid not many people use it.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 [35] 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!