Bitcoin Forum
May 26, 2024, 09:24:59 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  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 64 65 66 67 68 69 70 71 72 73 74 75 76 ... 288 »
501  Bitcoin / Wallet software / Re: New Phishing email being circulated for Ledger wallet users. on: October 30, 2020, 08:03:59 AM
Duplicate. https://bitcointalk.org/index.php?topic=5284407.0
502  Bitcoin / Development & Technical Discussion / Re: Why do nodes ignore the relay=false in version and send MSG_TX inv? on: October 29, 2020, 08:23:32 PM
It wasn't on my blacklist but that isn't too surprising, that behaviour causes bitcoin core to instantly disconnect for a little while now-- so if I ever connected to it I probably didn't stay connected long enough to notice its other misbehaviour.
503  Bitcoin / Development & Technical Discussion / Re: Does mempool have size limit? on: October 29, 2020, 09:57:29 AM
It's going off-topic, but I also read the OP like wind-fury did-- but trusted y'all would set it all straight, and you did.
504  Bitcoin / Development & Technical Discussion / Re: Non-zero final balance of input address on: October 29, 2020, 12:22:09 AM
When your wallet chooses inputs, it doesn't seem to consider addresses at all. If you want to ensure that an address has no balance after being used as an input, you should receive bitcoins at the address only once.
Current versions of Bitcoin core will first try to spend all outputs paid to a common address as a group.

That behavior is controlled by two options:

Quote
    -avoidpartialspends
       Group outputs by address, selecting all or none, instead of selecting on
       a per-output basis. Privacy is improved as an address is only
       used once (unless someone sends to it after spending from it),
       but may result in slightly higher fees as suboptimal coin
       selection may result due to the added limitation (default: 0
       (always enabled for wallets with "avoid_reuse" enabled))

     -maxapsfee=<n>
       Spend up to this amount in additional (absolute) fees (in BTC) if it
       allows the use of partial spend avoidance (default: 0.00)


The first, if enabled, forces all payments to the same address to always be grouped.

Otherwise,  it tries computing the transaction both ways, and if the grouped way doesn't pay more than a threshold amount of fees more then it uses the grouped way.  The default threshold is the conservative value of 0.  ... so it will prefer to group the inputs, but only if doing so doesn't make it pay more in total fees.


This is still kinda dumb: the threshold should probably be in terms of fee ABOVE the minimum feerate (e.g. so if your transaction is at the minimum feerate, it'll always do it, because you were going to pay the minimum feerate eventually in any case)... but at least it's something.
505  Bitcoin / Development & Technical Discussion / Re: Why do nodes ignore the relay=false in version and send MSG_TX inv? on: October 28, 2020, 08:02:38 AM
I checked my last week of logs and don't see any "inv sent in violation of protocol", which is what gets logged if a relay=false peer sends an inv.
506  Bitcoin / Development & Technical Discussion / Re: Why do nodes ignore the relay=false in version and send MSG_TX inv? on: October 28, 2020, 07:29:43 AM
You're either sending the flag wrong, you're sending a mempool message, or you're getting confused by fake nodes again.

Neither of my block-relay-only peers have any invs sent or received, and sending tx invs is unambiguously gated on the relay flag in the code.
507  Bitcoin / Wallet software / Re: Possibly improving on BIP039 with language models ? on: October 27, 2020, 10:48:17 PM
For example, here is a 256-bit key decoded with gpt2tc and the 1558M model:

Quote
https://www.youtube.com/watch?v=NbOijSrZwmU

by The Official PUBG Channel

Discover these new ways to play PUBG inside the single player campaign mode and compare them to the private servers! Watch Studio and play with other players just like you with 10 saved servers to challenge your group with at the Play menu. Get more points per play and earn 6 skill points each time you earn a kill. Private servers will be unlocked on dec 8th so go explore them now! Help a fellow player and you'll get one of the exclusive premium 'Hearthstone' branded skins wearing mounted orcs priest. Get in now by checking out into Playtesting – click on the button below then shoot the button below!

Good luck entering that in exactly, character per character. Tongue

Here is the same key in hex:

c4c54956ea89760bfb1f1c22752765cbdf7a21606e3dd17f80d81e2668518d4d

And in the gramtropy failmail grammar:

Quote
this bale bewails that sail still her shale snail wails while her quail wails so the railing ale dovetails but some wholesale ale impales so his quail emails his pale tattletale so her shale hail bails and braille jails assail and that female flail travails yet his flailing tails fail wholesale mails yet their quail blackmails his gale

or the breezy grammar:

Quote
ah payees decrease trees and mkay so fees flee and hmm keys caese or um well teas caese or well uh capris tease teas or ah ah bees crease keys and good gosh capris crease greases thus um ah teas decrease fleas or ah bees flee or um jeez bees freeze teas and haha teas please keys or so ah peas caese then ah trustees please pleas

or the silly grammar:

Quote
soon one nurse adjusts cats and saints hear a big arm so evil cats have no tiny buyer and four bleak czars hunt flies so a cat is a man in the big paw but men boil a sleepy leg and shy adults want cats so a dog is a lax blouse

or the english grammar:

Quote
No fit grand new Chinese coders make two sturdy large 15-year-old Irish tin graves. A strong Swiss king paints the many big warm 81-year-old oval brown British chains. No firm queens polish the three known huge cool 53-year-old Algerian leather wires. Five good new kings polish five poor grand hot 89-year-old triangular stone books.

(Failmail and breezy grammars were intended to be purposefully hard to remember, english model had a hard time constructing a 256-bit model so that is four 64-bit encodings).
508  Bitcoin / Wallet software / Re: Possibly improving on BIP039 with language models ? on: October 27, 2020, 10:39:59 PM
It's pretty straight-forward to do this, but the number of bits per word ends up extremely low, so the strings are absurd long.

GPT2 and similar gives you a probability distribution over the next token as a function of the prior token.

Imagine output tokens as boxes laid along a ruler of unit length. Set the width of each token equal to the probability, so they all add up to 1 and span the whole ruler.  For each token, subdivide it into the tokens for the next symbol, again, sized by their probabilities so they add up to the bounding token.

In this model we just take the private key as a position along the ruler and read off the tokens at its position.  Assuming rounding is handled correctly, this process is totally reversible. See also: https://en.wikipedia.org/wiki/Range_encoding

GPT2TC will basically do this for you, https://bellard.org/nncp/gpt2tc.html  though due to various implementation details the result is not always reversible, so it loses a little information.


Or you could use https://github.com/sipa/gramtropy which is explicitly made for this purpose, but uses a simpler language model.

But really I think all this stuff is mostly pointless and hurts key security rather than helping it.

509  Bitcoin / Development & Technical Discussion / Re: Something's wrong with mempool Bitcoin? on: October 27, 2020, 07:58:42 PM
The charting tool draws straight lines between datapoints, and after restarting the node refilled over time (presumably it's been modified to use the mempool p2p message to do so).

Please don't confuse some guys random node for the operation of the network.
510  Bitcoin / Development & Technical Discussion / Re: VanitySearch (Yet another address prefix finder) on: October 26, 2020, 11:49:35 AM
So its kind of pointless to try to find a address with this if you don't know seed. What exactly is the search space when searching with vanitysearch is it 2^160 or 2^96?
The search space is 2^256, though some keys map to the same addresses. The non-uniformity means that some keys are more likely than others in your search, but all are still possible..

If you were searching for keys beginning with B  and the first letter of the set of keys matched in this pattern  [..B...B..............B....B.............B....BB.B..BBB]  the probability of selecting that last B would be 1 in 54 (because only 1 in 54 starting positions will select it) while it would be 14 out of 54 for the 5th one (because 14 different starting positions will end up there).

But on the real (enormous) range this doesn't really matter... it's just a pedantic detail.
511  Bitcoin / Development & Technical Discussion / Re: Safety procedures in place to secure Bitcoin when github takedown? on: October 25, 2020, 10:45:47 PM
There is continual realtime mirroring of all that stuff.

Maybe a couple of the most recent updates might get lost if github shuts it down, but otherwise it shouldn't be a big deal.

At different points parties connected to wright and ver indicated that they were going to do this, though they haven't yet.  You should just assume it'll happen eventually and when it does it'll be a little disruptive but otherwise not be a big deal.

FWIW, the story would be pretty much the same on any other hosting service.
512  Bitcoin / Development & Technical Discussion / Re: VanitySearch (Yet another address prefix finder) on: October 25, 2020, 03:13:14 PM
Vanitysearch starts with a seed which, if not specified by the user, is generated randomly.  It proceeds from there searching sequentially.  If you use the same seed, you will get the same results.
It's perfectly secure to do this.  Searching this way creates an infinitesimal bias in the keys that are selected (the selected key is more likely to be found after a long run of non-matches than after an immediately prior match) but even where an attacker knows the exact prefix searched for the bias is extremely tiny-- because nearly spaced solutions are extremely unlikely to begin with-- and not exploitable (because you can't search only keys that meet that criteria... since the criteria itself requires generating the pubkeys to check).
513  Bitcoin / Development & Technical Discussion / Re: Taproot proposal on: October 25, 2020, 02:54:47 PM
Am I getting it wrong thinking that "schnorr" is just an improved way of doing EC signatures, while "taproot" is an extension to the scripts interpreter?

Because reading some publications (and this forum topic), one could get an impression that schnorr and taproot are synonyms, whilst for me they are two different features. Although, I understand that they are planned to be deployed and activated together.

Schnorr without taproot isn't really that useful: it makes it simpler and safer to write threshold signatures but that's it-- you can already threshold signatures using burdensomely complicated client software.  And threshold signatures by themselves don't even do that much-- they let you make signatures somewhat smaller but only when you don't need to be able to tell which parties signed.   It's better --- but perhaps not worth the trouble of a consensus change by itself.

Taproot without schnorr isn't really that useful: without threshold signatures, which are burdensomely complex to write software for without schnorr, it only lets you have a single party key at the top (which is pretty useless.)

There is a third logical part of taproot,  which is the merkelized script. This part is probably the most useful of the three on its own, but it's much more useful in combination.  With it you can use trees of N of Ns to make thresholds work usefully even when you need to be able to tell which parties signed, and  N of Ns are much easier to deal with than arbitrary thresholds, because the latter requires interactive secret key generation.

In order to have the property where arbitrary complex scripts are normally indistinguishable from one-of-one payments you need all three.  They also can't just be independently implemented: taproot changes the pubkey that goes into schnorr verification to commit to the merkelized script.

There were other techniques proposed, including graftroot (allows you to add scripts to an output after someone has already paid to it), and improved signature flags--  but those were possible to implement independently without leaving the rest not very useful.  There were also a number of next steps like signature aggregation which would have been best implemented in combination but were still left out because the three main features of the taproot bip were still useful without it.

I only found test vectors in bip340_test_vectors.csv - but they seem to be only checking sign_schnorr() and verify_schnorr() functions.
Are there any new test for entire scripts and transactions?
Looks like all the new testing is done with the python framework. I'll prod Pieter to add old style vectors.

They are over here: https://github.com/bitcoin-core/qa-assets/blob/master/unit_test_data/script_assets_test.json
514  Bitcoin / Bitcoin Discussion / Re: Is DeFi benefiting Bitcoin? on: October 21, 2020, 08:58:28 PM
we dont also know if defi isnt just about hype
It isn't just about the hype, it's also about the exit scam.

Most defi things are constructed in a way that makes them a nearly free option on shitcoin vs btc price.  You put up some shitcoin to get loaned Bitcoin.  Shitcoin price tanks relative to bitcoin?  Default on the loan, lender gets worthless shitcoin and you laugh off into the sunset.  Shitcoin price moons? repay the loan and get your shitcoin back.

Most are also constructed so that some centralized party (or worse, some Sybil attacker) can just walk off with the coins-- low to no security and zero effective disclosure of the security risks.

Legitimate use for these things is essentially zero, the only one you see people promote in any detail is the use of loans to avoid capital gains tax but that *does not work*, because that activity is a "constructive sale" as any clueful accountant could tell you.

These schemes get pumped at the promoters expense to attract suckers to buy otherwise worthless associated tokens and to bring in masses for the exit scam.  It's like bugs to a bug zapper.

515  Bitcoin / Development & Technical Discussion / Re: Taproot proposal on: October 21, 2020, 04:49:26 PM
Will there be any taproot related tests added to the src/test/data ?
There are vectors at https://github.com/bitcoin/bitcoin/pull/19953/files#diff-6794e4c8edce5f4dd1a21181a91f0c166f34c876809e40f015e5926ee3d6a126
516  Bitcoin / Bitcoin Discussion / Re: @RogerVer lets make a deal. At least 60k, my BTU for your BTC. on: October 20, 2020, 04:12:07 PM
ver must really have had a lot of btc.
A pretty decent amount, anyone with the leaked mtgox data can see how much... in USD amounts at the time it wasn't particularly stupendous.

Quote
and he must have been influential in the early days to an extent that he developed this view as if he himself
Nah. A lot of people barely had any idea of who he was for a long time-- beyond the hothead blockchain.info guy that was doxing users.  But I have no doubt that he was very important in the little bubble where he was funding a collection of sycophants, and that's probably sufficient to build up the kind of hubris that you mention.
517  Bitcoin / Bitcoin Discussion / Re: Hardware Cryptowallet with Fingerprint Authorization on: October 20, 2020, 01:51:44 PM
Fingerprint auth is mostly snake oil.

The way it is implemented is almost always bypassable. Because the device knows what your finger looks like and is just looking for a match, so someone with access to tinker with the device innards can bypass it.

There are better ways to implement it-- where the data is literally encrypted with your fingerprint and the device doesn't know what your finger print is...  but this requires extreme rocket science (to deal with the fact that each fingerprint read will be slightly different) and so no one does it that way.  Even with that, you leave fingerprints all over the place so the security can only be so good.



518  Bitcoin / Bitcoin Discussion / Re: @RogerVer lets make a deal. At least 60k, my BTU for your BTC. on: October 20, 2020, 01:46:26 PM
I'm bumping this thread now that BCH is at an all-time low against BTC (current price: 0.0207)
Per coinmarketcap (ugh used to be an okay site before eth heads got them to abandon their integrity and list premined coins), it made it under 0.02 briefly back on September 25th!

I was pretty surprised by it, since it really looks like someone has been spending a lot of money to keep BCH above 0.02/BTC and I've been waiting for that peg to fail.

Quote from: PinkFloyd
On the day the wall came down
The Ship of Fools had finally run aground
Promises lit up the night like paper doves in flight

But I guess this is just how most of these schemes die... not with a bang, but with a wimper.

Quote
However, I encourage any blockchain detectives to do some pretty thorough research before jumping to any hasty conclusions!  Cheesy
Not that polite to go digging through other people's transactions! Smiley

Quote
Ver should have made a deal with Craig Wright: your BCH for my BSV... I mean he would have lost money either way, just not as much money...
God knows, I half think that ver has been cynically dumping BCH (and later BSV) on his suckers the whole time.  We know that BU kept 90% of their funds as Bitcoin instead of going all in on bcash.

If he really followed through with what he promoted to others he'd be looking at devastating >>90% losses (esp if he also went hard in on eth at the time he was pumping it it would be more like 98% losses), and probably we wouldn't be hearing from him anymore.
519  Bitcoin / Bitcoin Discussion / Re: Is DeFi benefiting Bitcoin? on: October 20, 2020, 12:46:00 PM
Like the waves of ICO and "world computer" scams before them, these things probably have a short term benefit by bringing in people-- and a long term drag as they bankrupt the people that fell for them and make the whole space look like a bunch of scammers.
520  Bitcoin / Bitcoin Discussion / Re: Exchanges are guilty of preventing Bitcoin mass adoption on: October 20, 2020, 12:35:51 PM
Most "exchanges" are primarily shitcoin gambling sites.

You log in and get popups urging you to "invest" in some latest scammy ICO or pointless shitcoin.

It's really disappointing and I'm sure it slow Bitcoin's growth a little that there aren't many options for sending people to someplace that won't just try to exploit them by dumping garbage on them...  but I doubt it makes a big impact on Bitcoin's adoption.

Changing how money works just takes time.
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 64 65 66 67 68 69 70 71 72 73 74 75 76 ... 288 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!