Bitcoin Forum
May 02, 2024, 05:37:46 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 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 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 ... 442 »
1381  Other / Ivory Tower / Re: Replacing Windows with Linux on: April 15, 2019, 01:55:19 PM
many jumping to Linux because it's free and stable and cannot be touched by viruses, not necessarily because it would ensure more privacy

I'm not too obsessed with privacy, I want stability and predictability in a computer system.

Ok, so imagine this scenario:

I run a business, I need a supplier. You guys, NeuroFish and JetCash, are both suppliers in contention for the role.

Obviously there are alot of factors that will lead me to choose who I will work with, but one of them is definitely how much information about our relationship will end up being sold to my competitors by Google or Amazon.


TBH, I treat even just regular people like this. Are you so lazy with computers that you're practically just one of Google's brain cells? I don't talk to people like that much.
1382  Other / Ivory Tower / Re: Replacing Windows with Linux on: April 15, 2019, 09:45:02 AM
I decided that the Cinnamon version of Linux Mint

this is somewhat a case of jumping out of the fire and into the frying pan


Mint (and also Ubuntu) have been openly shipping spyware software in their Firefox package for years now. Guess who the beneficiary is? Amazon.

(don't forget that Amazon is more of a web server company than anything else now, so if one assumes shopping habits at webstores that aren't Amazon is what they're analysing, think again)

Edit: So really, Mint/Ubuntu is jumping out of one fire and into another


Best bet if you're starting with Linux is (IMO) Debian, or Devuan. Mint/Ubuntu are just versions of Debian anyway (so most web advice for Ubuntu/Mint also works the same on Debian).


And if Mint will sacrifice your privacy openly, what kind of standards do it's developers have at all?
1383  Bitcoin / Development & Technical Discussion / Re: Discussion: optimization of mempool fee levels on: April 13, 2019, 07:42:28 PM
segwit was implemented in 2017 ... BIP91 ...

and in Nov 2017 to Jan 2018 it failed to manage the mempool such that txn fees were VERY high

that's unreasonable

From segwit activation (September '17 IIRC) to Jan 2018 was just a few months. Segwit couldn't possibly be used to react to big hike ups in tx backlogs straight after it activated, that wasn't quite enough time for the whole of Bitcoin to move to segwit addresses, and then start spending from them Cheesy. Good thing too, blocks stayed effectively capped at ~ 1.1MB until Jan '18, compromise: achieved Smiley

seems you forgot the reasoning why BIP100 got rejected too, but whatever


Nov block reward Avg: 118.27%
Dec Avg: 129.11%
Jan Avg: 132.04%

Then total txns fell - some of the blame resides with segwit for that.

so....

  • mempool full: because segwit
  • mempool empty: because segwit

uh, ok
1384  Economy / Speculation / Re: ‘In Crypto We Trust’: Circle CEO Pumps Blockchain at IMF Meeting on: April 13, 2019, 10:03:03 AM
This stinks of an attempt to re-define what "decentralised" or "cryptocurrrency" actually means, there is no chance that the IMF would let this guy speak on their platform if he in any way represented a threat to the IMF's position as a monetary authority.

Let's not forget that Allaire and his company quit Bitcoin in 2015 when their attempts to assert influence over Bitcoin development failed. Let's not forget that the only reason Allaire and Circle failed was because people running Bitcoin Core refused to switch to the (long since dead) Bitcoin XT software.
1385  Bitcoin / Development & Technical Discussion / Re: Discussion: optimization of mempool fee levels on: April 13, 2019, 09:50:52 AM
if you continue this excuse for years (it has been 'years')

Huh e.g. the entirety of the year 2018,  during which mempools were half empty?


the 'solution' is clearly NOT a solution if it still fails to solve the problem"

which problem? Wink

blocks are too big? or blocks are too small? By choosing to use P2PKH addresses, blocks stay smaller. If you use segwit addresses, blocks can be made bigger.

Compromise: achieved

1386  Bitcoin / Bitcoin Technical Support / Re: PSBT/BIP174: how to create inputs/outputs using bitcoin-cli on: April 12, 2019, 06:08:45 PM
So something a little strange may be happening.

If I do:

Code:
walletcreatefundedpsbt [{"txid":"hextxid","vout":<definitely_the_correct_vout_which_is_0>}] [{"<address>":<amount>}]

then I get

Code:
error code: -4
error message:
Signing transaction failed

whereas if walletcreatefundedpsbt chooses the inputs like this:

Code:
walletcreatefundedpsbt [] [{"<address>":<amount>}]

it returns a base64 string, and the outputs that supposedly cannot be signed from the previous command are chosen as inputs.


but then using utxoupdatepsbt on that string doesn't create any outputs, and both ScriptSig and ScriptPubkey in the metadata section are blank, although txids from the wallet are present. I am confused.


Edit: I was wrong, vout is 1 not 0. *sigh*

Sorry to anyone trying to follow along, this is really just one big case of me being too impatient mixed with not knowing what I'm doing
1387  Bitcoin / Bitcoin Technical Support / Re: PSBT/BIP174: how to create inputs/outputs using bitcoin-cli on: April 12, 2019, 05:52:34 PM
It clearly says that the second parameter named sign is a boolean whose default value is true. Because it is a boolean, the value you can use for it are true or false.

shit, it does.


If you have any suggestions on how this can be clearer, then please let us know. The way that this help text is written follows the way that we have been writing help texts for a long time.

Maybe an example at the bottom of the help text would help, but that's no excuse for me not reading the help properly

I've never seen this way of handling command parameters before, in bitcoin or elsewhere! But maybe this is something typical in RPC interfaces?


And perhaps I'm getting the conceptual details wrong again, but that doesn't change the result of decodepsbt, I get an array of inputs but no outputs.
(yes, the wallet for the inputs is loaded in the machine I'm using)
It is not an array of outputs, it is an array of output metadata. If your wallet does not own those outputs, then no output metadata will be given. The outputs are specified in the actual transaction at the top.

Using the same inputs as I used for createpsbt, I'm getting:

Code:
error code: -4
error message:
Signing transaction failed

(again, the wallet containing the inputs is loaded on the machine I'm using)
Are the inputs standard inputs (i.e. ones that Bitcoin Core can sign for)? Do you have all of the information for the inputs in the wallet (e.g. redeemScripts, witnessScripts, etc.)?

So at the moment I'm only familiarising myself with the commands for PSBTs. I'm doing this particular example very simply, so I'm letting bitcoin-cli create a standard redeem script, and I'm using P2PKH addresses for both inputs & outputs as further means of keeping things as simple as possible (I'll do all this with segwit transactions once I have the redeemScript I want to use working with P2PKH).

On the machine I'm using:
Code:
bitcoin-cli listunspent

The outputs with the txids and amounts I'm providing as inputs to the PSBT are returned by listunspent. They've got >6 confirmations, and they were not mined, but they were sent from mined outputs on another machine on my regtest-net.

then

Code:
bitcoin-cli walletcreatefundedpsbt $(cat psbtdata)

So there surely must be something going badly wrong with my setup... I find it hard to believe you guys don't have a test for such simple circumstances.
1388  Bitcoin / Bitcoin Technical Support / Re: PSBT/BIP174: how to create inputs/outputs using bitcoin-cli on: April 12, 2019, 03:17:22 PM
maybe I should specify exactly what I want to do


Either:

A. Receiver creates a .psbt file, with no inputs specified, but 1 or more outputs that pay to a custom ScriptPubKey (details of doing that are ot for this thread). Payer takes the .psbt, adds their input, signs it, broadcast

or if that's not possible...

B. Receiver creates the ScriptPubKey they wish to be paid to, Payer takes that and creates the .psbt themself, using that/those outputs, adds their own inputs, signs, broadcasts


Which (if either) of these is possible?
1389  Bitcoin / Bitcoin Technical Support / Re: PSBT/BIP174: how to create inputs/outputs using bitcoin-cli on: April 12, 2019, 03:04:03 PM
Code:
walletprocesspsbt <psbt> true "SINGLE"
should do what you want.

How could I have figured that out without asking? The available docs/help don't make any mention of that

And perhaps I'm getting the conceptual details wrong again, but that doesn't change the result of decodepsbt, I get an array of inputs but no outputs.
(yes, the wallet for the inputs is loaded in the machine I'm using)


The RPC you are looking for is walletcreatefundedpsbt.

Using the same inputs as I used for createpsbt, I'm getting:

Code:
error code: -4
error message:
Signing transaction failed

(again, the wallet containing the inputs is loaded on the machine I'm using)
1390  Bitcoin / Bitcoin Technical Support / Re: PSBT/BIP174: how to create inputs/outputs using bitcoin-cli on: April 12, 2019, 01:21:35 PM
so I'm trying various things

Code:
bitcoin-cli walletprocesspsbt base64fromcreatepsbt sign

Code:
bitcoin-cli walletprocesspsbt base64fromcreatepsbt sign SINGLE

Code:
bitcoin-cli walletprocesspsbt base64fromcreatepsbt sign "SINGLE"

Code:
bitcoin-cli walletprocesspsbt base64fromcreatepsbt -sign "SINGLE"

Code:
bitcoin-cli walletprocesspsbt base64fromcreatepsbt -sign="SINGLE"

Code:
bitcoin-cli walletprocesspsbt base64fromcreatepsbt sign="SINGLE"


...and all are rejected. I have inputs (which I apparently cannot choose?), but no outputs
1391  Bitcoin / Bitcoin Technical Support / Re: PSBT/BIP174: how to create inputs/outputs using bitcoin-cli on: April 12, 2019, 12:46:54 PM
doh, just figured it out Grin

walletprocesspsbt is what's needed to specify inputs

still don't understand the purpose of the transaction: array, will these turn into the outputs after I figure out the magic words to do that? (I am attempting now to find the answer myself...)
1392  Bitcoin / Development & Technical Discussion / Re: Discussion: optimization of mempool fee levels on: April 12, 2019, 12:22:01 PM
The free and uncontrolled market is one of the biggest reasons why people want bitcoin.

indeed


If you are complaining about what happened last week with fees sky-rocketing, then discuss that with Core who implemented Segwit which was "SUPPOSED" to solve such problems ... but failed to as usual.

Roll Eyes didn't take you long to abandon "the free and uncontrolled market", lol


Segwit's working as the compromise it's supposed to be. Only 2% of addresses are even using segwit addresses, because many people just aren't aware, and also since the industry as a whole has only really now begun to support it (probably a good idea, taking risks with new tech in the real world could be an expensive mistake).

So until more users and businesses switch, 1.2MB average blocks is as big as they'll get. If you want bigger blocks and cheaper fees, the incentive is there, use it. Or don't. It's a f(r)ee market
1393  Bitcoin / Bitcoin Technical Support / PSBT/BIP174: how to create inputs/outputs using bitcoin-cli on: April 12, 2019, 09:50:49 AM
It's not at all clear how this should be done


According to bitcoin-cli help createpsbt:

Code:
createpsbt [{"txid":"hex","vout":n,"sequence":n},...] [{"address":amount},{"data":"hex"},...]

When using the form from the help as above, the inputs array is never populated if checking it using decodepsbt

(slightly ot: why are inputs/outputs added to the transaction: array at all? What's the difference between inputs/outputs in transaction: and those in inputs: and outputs?)


utxoupdatepsbt the resulting base64 string doesn't make any changes to the PSBT


Either there is some syntactic structure missing from the help message, or there is some other 'addinput/output' a RPC call that isn't obvious to me
1394  Bitcoin / Press / Re: [2019-04-10]China Bans Bitcoin & Cryptocurrency Mining on: April 11, 2019, 09:03:48 AM
well, this is only the millionth time this "news" has been broadcast


@Vladdirescu87

yet again, please stop posting this moronic "news items"
1395  Bitcoin / Bitcoin Discussion / Re: Lightning Network: 1% Daily Compounded Growth on: April 10, 2019, 11:56:07 AM
How does this work exactly? I'm still a complete noob when it comes to lightning network.
Do you have to set up your own node for this or can you also 'invest' in someone else's node?

Setting up own node is best. You can go various lazy routes, but they either put someone else in charge of your money or your privacy (so exactly the same as regular on-chain Bitcoin)


Remember the end of 2017 and the beginning of 2018. Transactions in the Bitcoin network were slow and expensive until LN appeared.

Wrong.

Transactions on the Bitcoin network are either slow _or_ expensive, not both.

You can choose:

  • cheap and slow
  • fast and expensive

There is no "slow and expensive" option
1396  Bitcoin / Bitcoin Discussion / Re: Should I open a LN channel while the fees are low? on: April 10, 2019, 11:50:05 AM
maybe a node I''ll open a channel with will decide to close it for some reason

There's nothing you can do to control that. You can use information about a node's uptime and how old it's present channels are to help you make good decisions. The incentives are to keep channels open as long as possible, but there have been bugs in the node software that can cause channels to be auto-closed when it was in fact unnecessary. Understanding the various lightning software, and keeping up to date on those details is important at this stage in LN node software development.


Also, how long in general do LN channels last? I've heard that they can be kept open for years, is that correct?

Right, bearing in mind the caveats above
1397  Bitcoin / Bitcoin Discussion / Re: Possible scenario when all Bitcoin is completely mined. on: April 09, 2019, 05:53:32 PM
the most likely option is to increase the total supply by a small amount through a hard fork.

no it's not, that's the least likely option
1398  Other / Ivory Tower / Re: Linux without windows on: April 09, 2019, 08:49:00 AM
I would recommend you to give a try to fedora

I recommend the opposite:


Red Hat (who make Fedora and Centos) are abusing their position in the Linux world. They're recreating important parts of Linux (init, desktop, device interface etc) in a way that forces you to use all their stuff.

The sensible way is to make components that are small, and compatible with alternatives. Red Hat are doing the opposite, making huge system components that force everyone else to become compatible with them (and lots of Linux software and distros are going along with this).

This approach makes it much harder to change bad software for good software, because the bad software is such a fundamental part of Linux underlying everything else


Don't use Red Hat's stuff, or anything else that uses Red Hat's stuff, there are better designed alternatives with smaller, better code (and hence fewer bugs) that don't lock you into their way of doing things.
1399  Bitcoin / Bitcoin Discussion / Re: Possible scenario when all Bitcoin is completely mined. on: April 08, 2019, 05:45:55 PM
Unless it's a bug or something that threatens impending doom for Bitcoin, a hard fork will never get consensus.

hard forking bugs out of Bitcoin (not serious bugs though) do have some consensus, but it's unlikely to happen anytime for a while because of how unimportant they are. But that means there are hard forks that could get consensus.
1400  Bitcoin / Bitcoin Discussion / Re: Bitcoin Tumblers on: April 08, 2019, 12:29:20 PM
Off-chain transactions show up nowhere.

they have to show up: in your channel, and also for the other person in your channel (there must be 2). So at least 1 person extra knows you have money, because they relayed it to you. That person has no idea where the money came from though.
Pages: « 1 ... 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 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 ... 442 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!