Bitcoin Forum
July 15, 2024, 10:36:32 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1] 2 3 4 5 »
1  Economy / Currency exchange / Re: 🔴 I need Bitcoin-to-fiat bridge. Will pay up to 10% fee on: November 21, 2018, 07:15:03 PM
you're looking for someone who you can pay with BTC and they will give you a VCC?
Yes.

Quote
I might be able to do the both but the rate might be a bit different when it comes to reload.
Of course, no problem with this.
2  Economy / Currency exchange / Re: 🔴 I need Bitcoin-to-fiat bridge on: November 20, 2018, 08:32:18 PM
Update: I'll pick whoever gives the cheaper quote but all cards on the table, I'm willing to accept to pay up to 10% fee on all my transactions.
3  Economy / Currency exchange / Re: 🔴 I need Bitcoin-to-fiat bridge on: November 20, 2018, 07:52:09 PM
You can get a bitpay Visa debit card. Are you saying you're looking to use someone else's?
Yes. If you can get a bitpay Visa debit card or any virtual card, I'm willing to pay for that.
4  Economy / Currency exchange / 🔴 I need Bitcoin-to-fiat bridge. Will pay up to 10% fee on: November 20, 2018, 06:51:12 PM
I need a virtual card issued so that I can pay with Bitcoin for online services, such as Github, Digital Ocean, Trello, Slack etc.

Volume is about $300/mo currently but will increase as the team expands. I only bother you twice: for loading the card for the new month and for asking to upload the statement for the past month.

Please state your % fee and issuance fee.
5  Economy / Services / 🔴 I'll pay a 10% fee on every tx for a debit VCC to a trusted forum member on: November 06, 2018, 01:11:08 PM
I need a virtual card issued so that I can pay with Bitcoin for online services, such as Github, Digital Ocean, Trello, Slack etc. I'm willing to pay up to 10% on each transaction + issuance fee.

Volume is about $300/mo currently but will increase as the team expands. I only bother you twice: for loading the card for the new month and for asking to upload the statement for the past month.

Only trusted forum members with enough forum history, please.
6  Bitcoin / Development & Technical Discussion / Re: Superspace: Scaling Bitcoin Beyond SegWit on: August 28, 2018, 04:23:18 PM
Honestly, I hate SW exactly because of its tricky approach, it looks to me kinda cobbling things in a hacker way. I love hack but not when it comes to core algorithm, as a rule of thumb we should keep core components elegant and smart.
You do know that many innovations in Bitcoin were rolled out this way, right? P2SH is treated by non-P2SH-aware nodes just as a hash preimage lock. OP_CHECKLOCKTIMEVERIFY and OP_CHECKSEQUENCEVERIFY for non-aware nodes are just no-ops.
7  Bitcoin / Development & Technical Discussion / Re: Superspace: Scaling Bitcoin Beyond SegWit on: August 28, 2018, 01:16:32 PM
If the main layer is too congested and you are in the situation where you
want to close a channel unilaterally, you are screwed.
This conversation is more suitable for a LN-specific thread and for people who know more about LN low-level security constraints than me, but I'll just point out that the deadline for closing the channel is not one block, it is whatever period of blocks you put in the funding transaction's timelock. If you see the main layer become more congested, you do it earlier at a safe distance from the deadline. You could, for example, have a rule of opening channels for two weeks, but always closing and reopening the channel 24 hours before it expires. That said, I agree with you, in the process of maturing, LN has a lot of things to take care of, including this one.
8  Bitcoin / Development & Technical Discussion / Re: Superspace: Scaling Bitcoin Beyond SegWit on: August 28, 2018, 12:46:25 PM
Anyway, you are the one who has come with an onchain scaling proposal and at the same time you are promoting LN?! Why should anybody even care about onchain solutions if he is a believer in LN or any 2nd layer alternative?

You kinda answered this question yourself:

Quote
But generally, I think there is no decentralized, trustless, secure solution in the horizon other than blockchain

My personal estimate is that it will take several years for LN to mature, but we need bigger blocks right now. This solution would provide time for LN developers (or sidechains, or whatever) to do their thing, and we would enjoy 5-10 MB blocks until that time.

Quote
and I don't believe in LN being an alternative technology.
So what's your alternative? 500 GB blocks every 10 minutes? If you read my paper, you'd see I'm for a reasonable increase, not extreme.

Quote
Why should we use blockchain for LN by the way. One could adopt LN to be run on fiat and traditional banking system.
Traditional banking systems are custodian systems, where they are kings and can do whatever they want: run off with your money, or shut down your account at any time for any reason, or tell you to come get your money Monday through Friday from 2pm to 4pm. They don't have this power with LN, at no point your funds are at risk. You can close the channel back to the blockchain if you don't like how the counterparty behaves. I can't vouch for how effective it can ultimately be, we'll see, but it's a neat concept nevertheless.

Quote
But as far as I understand, the main controversial issue with block size increase proposals is not their need for a hard fork rather it is  their centralization implications because of progress and proximity consequences
I think I've highlighted this enough times in the paper, but I'd like to point out an important point again: you can limit superspace blocks, by saying in the protocol the block is invalid if its size exceeds, let's say 10 MB. Increase from 1 MB to 2 MB in SegWit did not really affect decentralization so far, neither would 10 MB. 128 MB blocks definitely would.

Also, it doesn't mean that every block will be 10 MB from now on, only in the "rush hour".

Where did I get 10 MB number? Nowhere, it's just an example. We can set it to whatever limit the community deems reasonable. The point is that we can impose it. But now we ourselves will be able to decide what the block limit should be in today's circumstances, not 2010's Satoshi when he initially put 1 MB, looking at 2-3 KB blocks as they were back then.
9  Bitcoin / Development & Technical Discussion / Re: Superspace: Scaling Bitcoin Beyond SegWit on: August 28, 2018, 12:35:35 PM
Yet the percentage of legacy users and services still stubbornly holding on.
I think they will quickly reconsider when the next bull run happens, the network gets congested again, and the fees soar. Many people will adopt new things only when they absolutely have to, at the last moment, when they feel the pain and see the solution that eases it.

Quote
but the fact that they can't transact/spend to native SW unless using the same client already must mean some users are shorn off
You can provide, alternatively, a Segwit P2SH address to those legacy clients, the net result will be just the same. With a text underneath a bech32 address: "If your software doesn't understand this, use this address instead: 3........ Oh, and by the way, consider upgrading your software to the latest version."
Or you can just provide only the P2SH address. Even if you use P2SH addresses alone, you still use SegWit.
10  Bitcoin / Development & Technical Discussion / Re: Superspace: Scaling Bitcoin Beyond SegWit on: August 28, 2018, 10:36:39 AM
2nd layer scaling solutions are inherently vulnerable to centralization
It is important to have the same definitions in mind when discussing things like centralization. In Bitcoin, decentralization means censorship-resistance (due to many parties involved that take random turns producing the blocks), impossibility to do any action to bring down the whole network (in centralized systems, this would be chopping off the head), and custodial decentralization (no need to trust someone that they won't steal your funds, because they can't). You would have the same in LN: censorship-resistance (if 10 routes don't want to do business with you, you route through 11th), can't bring down the whole network (you bring down big hubs, and the little ones take their place), and custodial decentralization (you still don't trust anybody other than the math, hubs are not custodians of your funds). What's left is perceived centralization, however, cause such a network would tend to center around hubs with the biggest liquidity and connections, so it would look like hub-and-spoke topology.

It's a bit offtopic here though.

Quote
because of having a parallel block just doesn't sound very different than suggesting an increased block size
Very different. One is a hard fork resulting in a network split, the other one is a soft fork, not affecting legacy software in the slightest. That's the whole point.
11  Bitcoin / Development & Technical Discussion / Re: Superspace: Scaling Bitcoin Beyond SegWit on: August 28, 2018, 10:07:36 AM
Congrats on reaching the "over 1000 posts" mark!  Smiley

I don't think there is any consensus that we actually want to increase the block size any further for now - that is the main reason why extension blocks have not been deployed.
You can hardly find 100% consensus about anything these days, but I think there is a need. Every day I see topics here with people complaining about the block size and freaking out about the thought that full block incident could happen again on the next bull run.

I also remember conversations happening pre-SegWit, some people were also saying there's no need to increase the block size any further than 1mb and therefore no need for SegWit, and it got rolled out anyway, as a compromise solution. Likewise, there is no harm in rolling out superspace/extension blocks, and it would actually be a better compromise solution. All I'm saying, if we're doing this anyway, why not go all the way?

Quote
The hard problem is not how to do it technically, but whether we need to do it or whether we should stick to what we have now with Segwit and scale on layer 2 instead.
How optimistic are you about when layer 2 solutions will become usable? I am working on one implementation of LN, and I see some questions, like routing and liquidity, are still in the air. This does not diminish the existing efforts of developers, of course, we've come a long way, but we're still somewhere in the middle.

Quote
While the block-size increase was one of the effects of Segwit, it was not the only and perhaps not the most important one.  Segwit also solves transaction malleability in an elegant way, which makes the implementation of layer-2 techniques (including Lightning) easier.
Of course, and I did mention that. However, SegWit was sold to the community mostly as the backward-compatible block increase solution, and that aspect of it caught the most attention.
12  Bitcoin / Development & Technical Discussion / Re: Superspace: Scaling Bitcoin Beyond SegWit on: August 27, 2018, 06:23:36 PM
Indeed, several people have pointed out to me that this idea has already been out there for some time, only it's been called "extension blocks", albeit not defined with as much detail. Started to read the discussions on it, seems very similar. Gonna continue reading to give them proper credit, but also to figure out why this proposal hasn't been greenlighted and what arguments could be used to showcase the benefit of its activation. I see it started in pre-SegWit era, maybe this time will be different because we have seen a successful SegWit activation, which is highly similar to the proposal in question, in the way SegWit was deployed.
13  Bitcoin / Development & Technical Discussion / Superspace: Scaling Bitcoin Beyond SegWit on: August 27, 2018, 03:51:58 PM
Superspace: Scaling Bitcoin Beyond SegWit

Steve Kallisteiros
August 25, 2018

Abstract. SegWit, or Segregated Witness, a soft fork successfully activated mid-2017 on Bitcoin blockchain, provided among other benefits a backward-compatible increase to the block size limit, all while not introducing consensus breaking changes to Bitcoin protocol and not resulting in a hard fork network partitioning. The potential space increase is estimated at being close to 2 MB total for practical purposes. In this paper, the author argues that it is possible, using the same mechanism, increase the block size further up to any agreed-upon limit, while still providing the same security guarantees SegWit does.

Complete paper: https://files.zazzylabs.com/LNx2ud/superspace.pdf

===

Keep in mind, it's only the first draft. I would really appreciate your feedback.
14  Bitcoin / Development & Technical Discussion / Re: Lightning Network fraud possible? on: August 16, 2018, 01:56:54 PM
But since all off-chain transactions (via HTLCs) are being summarized to one transaction (last state is being published), this is not an issue.
Right, you beat me to it; by summarizing you probably meant something like this:

Quote from: Kallisteiros
Upd: actually, having thought about it, something like this would be neat: if someone sends me the correct preimage, I'll just replace my puzzle output of this amount with a simple output giving him the funds, since I know he can take them anyway, since he knows the preimage. But this would clean up the outputs and consolidate them, so that when the channel closes, it's just one clean transaction signed by me and him without any hash puzzles.

Anyway, this is really really fun. LN seems to be going places.
15  Bitcoin / Development & Technical Discussion / Re: Lightning Network fraud possible? on: August 16, 2018, 01:39:32 PM
Hmm, now I have a question. If all transactions eventually need to be settled on the blockchain anyway, how does it affect the fees and the scalability? Usually, LN is positioned as a way to send a lot more transactions than the current blockchain capacity, and send them cheaper. And I kinda understood why, but now with the introduction of HTLCs I'm not that certain anymore:

1. Fees: I thought that one can save on fees by sending several payments to the same hub that will distribute the payments further. Since it's all happening inside the channel, it will be registered as one big transaction to this hub rather than several. But my understanding is that HTLC requires a separate transaction output, does it not? The end result would be a transaction with one input and a lot of outputs with hash locks. And since it's different hash/preimage for each LN payment, it would require a separate spending transaction per each payment, right? Then the fees must add to the same amount anyway?

2. Scalability: I thought more scalability can be achieved by transacting off-chain, but if, when closing the channels, we must broadcast the same amount of on-chain transactions to spending funds from off-chain hash-locked outputs, won't it choke the blockchain all the same when we attempt to close the channels this way?

Sorry if the questions are invalid, I've learned about the use of HTLCs in LN just now, so I'm pretty much saying things off the top of my head at this point. But maybe someone already knows the answer.

Upd: actually, having thought about it, something like this would be neat: if someone sends me the correct preimage, I'll just replace my puzzle output of this amount with a simple output giving him the funds, since I know he can take them anyway, since he knows the preimage. But this would clean up the outputs and consolidate them, so that when the channel closes, it's just one clean transaction signed by me and him without any hash puzzles.
16  Bitcoin / Development & Technical Discussion / Re: Lightning Network fraud possible? on: August 16, 2018, 01:23:49 PM
How will this be handled in a dispute? <Example : Pay-per-view micro transactions with streaming content, when one party provided the service and the other party denies receiving sending the payment for that content>   Huh
You can wait until the channels close (they eventually will, and maybe even faster than their expiration date), and then you'll see your transaction broadcasted on the blockchain, since it's the only way for them to get your funds.
Or in the case of "pay-per-minute streaming content", you stop streaming to them and ban the peer if they don't send the micropayment in time.
17  Bitcoin / Development & Technical Discussion / Re: Lightning Network fraud on: August 16, 2018, 11:50:00 AM
Alice can easily circumvent being defrauded by choosing a timelock (between Alice and Bob) < timelock between You and Alice.

As i have mentioned in my example:
Then, based on this you are going to create a HTLC with a timelock. This basically says 'I (you) pay X btc to Alice if she finds the secret R during the next Y blocks. If not, the funds return to me'.

Afterwards Alice (using the same hash) creates a HTLC with Bob where she pays Bob X (- fee) btc. The HTLC basically says 'I (Alice) pay X btc to Bob if he finds the secret R during the next Y-1 blocks. If not, the funds return to me'.
Ah, that's spot on! Haven't noticed this part. Very cool.
18  Bitcoin / Development & Technical Discussion / Re: Lightning Network fraud on: August 16, 2018, 11:44:58 AM
Figured out the solution: to subvert the attack, each node must make sure that the channel towards the sender side expires later than the one towards the recipient side. Since the channels in question are opened on both sides of that node, it always knows the exact transaction scripts and is always able to verify this condition.

Hopefully, this is already included in the emerging LN standards.

Thanks for helping me figure out how it all works.
19  Bitcoin / Development & Technical Discussion / Re: Lightning Network fraud on: August 16, 2018, 11:13:27 AM
Understood this part, using HTLCs is a brilliant idea. Just can't figure out this one edge case in my head:

Now Bob is able to retrieve the X BTC using the secret R. And as soon as he does, the secret will become available to Alice as well.

What if Bob doesn't share the secret right away, but waits until Alice's channel with me expires (our channel with him is set up for a longer period of time), I take away all the funds in the channel with Alice (she can't do anything, because she doesn't know R), and then Bob publishes tx with R when it's too late for her but not too late for him, thus he also takes away funds from Alice in his channel? We've successfully defrauded Alice, haven't we?

Quote
The 'Broken channel'- and 'Rerouting'-part should clear your concerns.
Also very clever, thanks for the reference, doesn't address this case though, if I understood correctly.
In 'Broken channel' paragraph there's an assumption that the secret has been voluntarily given up by the last participant.
In 'Rerouting', it is assumed that the immediate neighbor cooperates and creates a negating transaction, rebalancing the channels.
20  Bitcoin / Development & Technical Discussion / Re: Lightning Network fraud on: August 16, 2018, 10:59:30 AM
That's why Hashed Timelock Contracts are used in the payment channels.

Quote
Example

    Alice opens a payment channel to Bob, and Bob opens a payment channel to Charlie.
    Alice wants to buy something from Charlie for 1000 satoshis.
    Charlie generates a random number and generates its SHA256 hash. Charlie gives that hash to Alice.
    Alice uses her payment channel to Bob to pay him 1,000 satoshis, but she adds the hash Charlie gave her to the payment along with an extra condition: in order for Bob to claim the payment, he has to provide the data which was used to produce that hash.
    Bob uses his payment channel to Charlie to pay Charlie 1,000 satoshis, and Bob adds a copy of the same condition that Alice put on the payment she gave Bob.
    Charlie has the original data that was used to produce the hash (called a pre-image), so Charlie can use it to finalize his payment and fully receive the payment from Bob. By doing so, Charlie necessarily makes the pre-image available to Bob.
    Bob uses the pre-image to finalize his payment from Alice
Oh, that's smart, I get it now. And I've read bob123's link, same thing. Thank you folks, just what I needed.

Now the only concern is that if Alice-Bob channel expires earlier than Bob-Charlie's, Charlie can maliciously withhold the preimage until A-B channel expires (and Bob can't take Alice's funds, because he can't provide the correct preimage to form the unlocking script, and Alice takes them all because the timelock expired), while Charlie publishes the preimage in time after that to grab Bob's payment; but that 1) requires conspiracy between Alice and Charlie, and 2) we can probably check this condition somehow, by requiring access to and validating all channels in the chain.

Upd: Actually, can we do 2)? I know we're deep into the woods at this point, but I would appreciate if anybody shares their ideas on how this attack can be mitigated.
Pages: [1] 2 3 4 5 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!