Bitcoin Forum
November 06, 2024, 12:06:42 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 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 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 »
2221  Bitcoin / Development & Technical Discussion / Re: Lightning Network Discussion Thread on: August 27, 2018, 12:24:13 PM
BitMEX has just become the first cryptocurrency exchange with their own Lightning Network node. As they stated on their Twitter, withdrawals and deposits through the Lightning Network won't arrive anytime soon but it's definitely a huge step forward. I'd be interested to know how much exchanges will charge for the Lightning Network withdrawals.

(Just installing neutrino to try out the "Lightning light client." If there's interest I report my experiences, although I'll only transact on testnet I guess.)

Any update on this? You mentioned in the other thread that you had some problems with setting it up.
2222  Bitcoin / Project Development / Re: Announcing BPIP - The Bitcointalk Public Information Project! on: August 27, 2018, 12:04:01 PM
Interesting, it happened again. Current merit should be 250, not 254. I am not going to update my profile manually since it might help Vod to investigate this issue. The position has not updated as well.

2223  Other / Beginners & Help / Re: A beginner question on: August 26, 2018, 10:06:31 PM
Not every wallet will allow you to sell your bitcoins directly in a mobile app. Take a look at Blockchain.info or Coinbase. I don't remember if they force their users to pass through KYC but using one of these services will be much easier for you than looking for a Bitcoin ATM in your area or creating an account on any other exchange. They are not a good place to store bitcoins long-term.

Here you can learn how to sell your BTC on Blockchain.info.
2224  Bitcoin / Development & Technical Discussion / Re: Basics of the Lightning Network - explanation and wallets on: August 26, 2018, 08:11:36 PM
Waiting your feedback about the link of my previous answer.

The article linked by you is well written. It covers a lot of problems and suggests solutions which are quite reasonable. However, one thing drew my attention.

[...]It will be very dangerous, if a counterparty has an older state, where all or most money on his side, because it becomes very lucrative to cheat (risk almost nothing for a chance to get all channel’s funds)[...]
User should keep untrusted counterparty from exhausting a channel
Solution: a minimum collateral should be set automatically (especially if routing is enabled), but user still should be aware of a problem and not change default settings when dealing with untrusted nodes.[...]

That's why eltoo was proposed. It will be an alternative to the current penalty system. A softfork is needed. Also, it's not possible to spend all funds that are locked up in the channel - there is such a thing as reserve which is a minimum balance that channel must maintain. For example, one of my channels has 0.0049 BTC capacity; the reserve is 0.000049 BTC.

2225  Economy / Services / Re: [OPEN] 🔥IOU Signature Campaign | Member - Hero | 0.0007 BTC /Post 🔥 on: August 26, 2018, 06:40:25 PM
Bitcointalk Profile Link: https://bitcointalk.org/index.php?action=profile;u=1169179
Post Count: 482
Merit Count: 250 (recently ranked up)
BTC Address: 3QX7eqRbsJLYZfEoCkTjSbuPfGYRbxYYvD
Telegram Username: @BitCryptex
2226  Bitcoin / Development & Technical Discussion / Re: Basics of the Lightning Network - explanation and wallets on: August 25, 2018, 05:36:52 PM
So let start with MIDDLE MAN:
-SNIP
So Bob here is the middle man, he can affect time of transaction and especially if he go offline.

The time is not a real problem since every transaction has its own timeout. It all happens nearly instantly. I have sent about 100 LN payments and the longest one took 1 minute. Bob can't steal funds because of HTLCs

LN is a network of several centralized hubs ... and you have to choose a performent and all time online to prevent delaying transaction etc ... So here a contract of trust ...

You can still open a direct channel to someone who you are going to transact with very often. Here you can see the largest nodes. Only one node has 1/4 of the total Lightning Network capacity. Keep in mind that principal is not the most important factor; the number of connections and channel balancing are much more important. The need of being online is definitely a huge disadvantage for some people, can't argue with that.

Colluding miner attacks - miners have power to decide which transactions they want to include in the block so they can refuse certain transactions selected by an attacker. This attack is very unlikely to happen due to high cost and complexity (all miners would have to cooperate).

You have to trust miners.

If ALL miners decided to cooperate with a single person then you would have to be more concerned about 51% attack. It won't happen since it would scare future investors and users. Miners would lose money long-term.

It took me some time to format this text on my phone. I am going to read what you have linked once I get home.
2227  Bitcoin / Project Development / Re: Announcing BPIP - The Bitcointalk Public Information Project! on: August 24, 2018, 09:29:14 AM
Probably your profile was last parsed before you got your last 4 merit.
After you have manually updated your profile the was parsed and those missing were added to you total score.

The BPIP showed more merit than I actually had. After updating my BPIP profile, my current merit decreased to 242 from 246.



Edit: As you can see, my profile was parsed on 22th August before doing it manually.
2228  Bitcoin / Project Development / Re: Announcing BPIP - The Bitcointalk Public Information Project! on: August 24, 2018, 09:19:33 AM
I have just noticed a small bug. My current merit is 242 while BPIP shows 246. Since I was a Member when the merit system was introduced, I was given 10 merit at the beginning. Merit Received (232) is displayed correctly.

Edit: After requesting an update of my profile, the current merit is correct. Any idea what might have caused that?
2229  Bitcoin / Development & Technical Discussion / Re: Basics of the Lightning Network - explanation and wallets on: August 23, 2018, 07:41:30 PM
I'm currently installing Neutrino+LND to test the "light client" scenario which would make LN available "for the masses", but I ran into some problems. But I won't spam this thread with them - I'll look if I can solve them myself (I'm a total Go noob, so maybe a bit of RTFM is enough Wink ). Perhaps we can start another thread of this "Lightning series": "Lightning Network Experiences"?

That might be a good idea. Feel free to PM me if you need some help.

~snip

Thanks for your suggestions. I haven't mentioned Schnorr signatures because they are not strictly connected with the Lightning Network. Updated.

I wonder, if during this LN implementation, it would be too difficult to add a second second layer (or 2 parallel layers) to also allow for escrow, or perhaps within LN itself? Or using LN as an escrow method?

There won't be any problems with having more than one second layer, especially if they have different features. It is possible to build more layers on top of the Lightning Network. Some think that ordinary people will use them instead of on-chain transactions.

I am going to write a long guide on the Lightning Network wallets once they stop changing so much. Developers are constantly updating their implementations.
2230  Other / Beginners & Help / Re: [GUIDES] on Bitcointalk. Index thread (until there is a dedicated subforum?) on: August 22, 2018, 07:53:55 PM
I'd like to add a guide on using the Lightning Network, and if someone makes it, it should be updated once new wallets become available.

I have just published "Basics of the Lightning Network - explanation and wallets". I did not describe wallets in detail since they are still being constantly updated. There is no point in updating the guide every month. I will write such guide in a few months.
2231  Bitcoin / Development & Technical Discussion / Basics of the Lightning Network on: August 22, 2018, 07:43:13 PM
Table of contents

      1. What is the Lightning Network?
      2. How do I use it?
             a) Creating a payment channel
             b) Sending and routing payments
             c) Closing a channel
      3. Wallets and nodes
      4. Planned features
      5. Security risks
      6. Useful sources of information

1. What is the Lightning Network?

The Lightning Network is an alternative to the traditional Bitcoin on-chain transactions. It doesn’t replace them completely because on-chain transactions are still needed for closing and opening payment channels. The Lightning Network is a second layer solution and is fully opt-in. Transactions done between Lightning Network participants have no negative impact on the Bitcoin network. The Lightning Network allows for instant and extremely cheap P2P (micro)payments.

The Lightning Network consists of nodes which maintain payment channels with some of the participants of the network.

2. How do I use it?

To start using the Lightning Network, you have to use a compatible software (see Wallets and nodes section). Every wallet has a different setup process and features so you should look up a guide for the one you choose on your own.

a) Creating a payment channel

What is exactly a payment channel?

Payment Channel is class of techniques designed to allow users to make multiple Bitcoin transactions without commiting all of the transactions to the Bitcoin block chain. In a typical payment channel, only two transactions are added to the block chain but an unlimited or nearly unlimted number of payments can be made between the participants.

Two people establish a payment channel by locking up funds in a multi-signature address which needs both signatures to spend from it. Payment channels can be used as long as both participants remain cooperative. The maximum size of a channel is about 0.16 BTC. All major implementations now allow node operators to lift this limitation manually.

b) Sending and routing payments

Both parties transact without broadcasting the current state of their trade to the blockchain. They both keep the copy of the channel information. Each time a channel is updated, both parties sign a commitment transaction which keeps a record of the current state of the channel. This transaction can be published to perform an uncooperative channel close.

Sending payments over the Lightning Network is possible as long as there is at least one path from you to the other person through other nodes which have open channels between themselves. All nodes in the path must have enough liquidity. Each node is rewarded for routing the payment accordingly to their fee policy. Large payments can be split and routed via different routes thanks to MPPs (multipart payments); while all implementations support them, most wallets don't.

Ensuring that there is enough liquidity is the most difficult thing for most beginners. When you open a channel to someone, you gain outbound capacity. You won't be able to receive any coins through that channel unless you spend the channel reserve (1-3% of the channel's capacity). The more coins you spend, the more you will be able to receive. If someone opens a channel to you then you will gain incoming capacity and be able only to receive through that channel unless you receive more coins than the value of the channel reserve.

Secure payment routing would not be possible without Hashed Timelock Contracts (HTLCs). The example below explains why they are needed.

1. Alice opens a payment channel to Bob, and Bob opens a payment channel to Charlie.
2. Alice wants to buy something from Charlie for 1000 satoshis.
3. Charlie generates a random number and generates its SHA256 hash. Charlie gives that hash to Alice.
4. 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.
5. 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.
6. 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.
7. Bob uses the pre-image to finalize his payment from Alice

Mobile clients establish private channels which do not take part in the payment routing.

c) Closing a channel

Payment channels can be closed either cooperatively or uncooperatively (forcefully).

Uncooperative channel close can be initiated at any time. Although, it doesn't make much sense to do it if the other node is online and fully cooperative. By default, one has to wait 144 blocks (~24 hours) before one will be able to spend the closing transaction. This value is decided during initial channel negotiations. Note that this value can be significantly higher in some cases. For example, Eclair Mobile sets the delay to 2048 blocks (~2 weeks) if one enables receiving over the LN. The delay gives the other party time to come back online and check if the latest commitment transaction was published. If the other party broadcasts an old commitment transaction then one can revoke it and broadcast a penalty transaction within the delay.

Cooperative channel close can be initiated only when the other party is responsive. The closing transaction can be spent immediately if both parties agree on the current state of the channel.

3. Wallets and nodes

There are only few Lightning Network implementations and each of them might contain some bugs which may lead to the loss of funds. Keep in mind that the Lightning Network is still in beta. iOS and Android wallets are easy to use and don’t require much setup as opposed to LND, Eclair and c-lightning which are used to run stand-alone nodes.

Implementations


Desktop clients


Android clients


iOS clients


4. Planned features

  • Dual-funded channels - two users instead of one will be able to fund a payment channel as originally described in the Lightning Network Paper.
  • Eltoo - eltoo will be an alternative to the current method of settling payments between users. Channel updates are done by building a chain of timelocked transactions. A soft fork is needed to make eltoo available on the Lightning Network (in order to avoid having to broadcast the whole transaction history between users). Here you can find out which opcodes need to be modified.
  • Channel factories - existing Lightning Network channels could be used for creating new channels without broadcasting anything to the rest of the Bitcoin network. Normally, a channel is opened to only one person. In channel factories we have multiple people forming a group. Group members maintain channels between themselves. More interested users = higher savings. If one of the participants is uncooperative, existing channels are not affected - new channels can't be created, though.
  • Splicing In/Out - currently, it is not possible to add or remove funds from channels without reopening them.

There are a few things which can be changed in the Bitcoin code in order to improve privacy. Introducing Schnorr, MAST and Taproot would make transactions opening/closing channel indistinguishable from any other ordinal transaction.

5. Security risks

  • Improper timelocks - sufficient time should be given in case of interaction with non-cooperative or malicious channel counterparties.
  • Forced expiration spam - closing many channels at the same time might lead to filling up the whole block completely. If the spam lasts enough time, some timelocked transactions might become valid.
  • Data loss - most of the Lightning Network clients don’t provide reliable method of backup. Using an old copy of the database might be considered as cheating. The other party broadcasts a penalty transaction in such a case. Data Loss Protection is available in all implementations.
  • Coin theft - most of the Lightning Network nodes work 24/7 and store their coins in hot wallets which makes it easier for an attacker to steal them.
  • Colluding miner attacks - miners have power to decide which transactions they want to include in the block so they can refuse certain transactions selected by an attacker. This attack is very unlikely to happen due to high cost and complexity (all miners would have to cooperate).

6. Useful sources of information

bitcointalk: The Lightning Network FAQ, Electrum Lightning Network walkthrough, Lightning Network Discussion Thread

Lightning Network explorers: 1ml.com, lightblock.me

News: Telegram channel, bitcoinlightning.com, coindesk, Cointelegraph
2232  Other / Ivory Tower / Re: Replace your ether address with a domain name. on: August 21, 2018, 08:18:25 AM
Do we have .btc or .bitcoin?

If not, hostingsolutions or whatever they're called should give us one.

We don't have any Bitcoin domains. Take a look at OpenCap. It's currently under development. It will allow every user to use a custom allias ({username}${domain name}) for each of their addresses.

Currently, .eth domains can be used only to replace one's Ethereum address. They can't be used for resolving a specific IP address. Actually, they can. I have found an interesting Chrome extension. There are also other crypto based TLDs such as .BIT, .EMC, .COIN, .LIB, .BAZAR. To use them you have to either configure your DNS properly or use a browser extension by Peername. You can also buy these domains there.
2233  Other / Beginners & Help / Re: [GUIDES] on Bitcointalk. Index thread (until there is a dedicated subforum?) on: August 20, 2018, 09:20:46 PM
Thanks for including my work! What about Common questions regarding the Lightning Network? I will soon finish writing another thread which covers the basics of the LN so it might be a good idea to include that one.
2234  Other / Ivory Tower / Re: Replace your ether address with a domain name. on: August 20, 2018, 04:16:41 PM
Actually, it has been available for over a year and it didn't help much with the price. The bidding mechanism seems to be fair. If you win the auction, the ETH you bid is used as a deposit. It will be refunded once you release your domain. It looks like someone has bought bitcointalk.eth.

2235  Bitcoin / Hardware wallets / Re: [ESHOP launched] Trezor: Bitcoin hardware wallet on: August 20, 2018, 09:51:43 AM
What do you think about it? Safe or need an update?  ;-)

It seems to be the same for my TREZOR One which has the latest firmware. When I open the wallet again, the website asks me to enter only my passphrase. "You’ll then need to enter this same PIN each time you are about the do the first transaction using your freshly plugged-in TREZOR." - after a while of testing I noticed that the device lock timer stops on "Show full address" and resets when you confirm on the TREZOR that the address is correct. It seems to be a bug.

It is up to your own personal security to unplug the Trezor one to log it out.

TREZOR locks itself after 10 minutes of inactivity by default.
2236  Economy / Services / Re: Do you segregate 'dodgy' sig campaign earnings? on: August 19, 2018, 10:24:51 PM
If I mix my coins,, it will erase the history right? Like if I send my btc to an exchange, trade it to an alt and trade back to btc, withdraw back to a new address, then that coin will be clean, right? That is what I am doing, so I really do not care where my coins come from.

No, the coins which you "mix" using that method can't be considered as "clean". Exchanges keep logs and I am certain that it's quite easy for them to track your activity. You'd better use a Bitcoin mixing service such as ChipMixer or exchange your coins to Monero and send it somewhere else. Do not trust any exchange.
2237  Economy / Services / Re: Do you segregate 'dodgy' sig campaign earnings? on: August 19, 2018, 05:15:27 PM
Is it something you're conscious of and keep separate from your main stash or do you not give a shit?

I keep my investment, signature campaign and translation jobs earnings separately. TREZOR allows me to keep them conveniently on different accounts. I do it mostly because it is much easier to see how much money I have earned/lost (out of curiosity). I try not to mix these coins together - a small privacy concern here.
2238  Bitcoin / Bitcoin Discussion / Re: Is the Lightning Network centralized? on: August 18, 2018, 08:31:45 AM
but LN has the benefit that you have the possibility to now earn something from running a node! before this you just ran a bitcoin node if you wanted to contribute to the network and benefit from having a full verifying node. but now if you run an LN node you can buy some small amount of satoshi. so i guess we can say if bitcoin nodes are decentralized LN nodes will be too, even more because of the incentive.

Currently, it is much easier to take over the network since there aren't many channels. In the future, it will be more difficult for a single person to route most of the Lightning Network transactions because the number of existing nodes will be huge. If someone wanted to disrupt the network, they would have to offer incredibly small fees. Capital won't matter since multi-path payments may be available by that time. Recently, a large node has been shut down by its owner. It affected a few users but it wasn't disastrous.
2239  Bitcoin / Bitcoin Technical Support / Re: [TUTORIAL] Build 0.16.2 Bitcoin with one console command on: August 17, 2018, 04:32:42 PM
I haven't used Windows in a while, but I highly doubt it supports "sudo", "apt-get" and "tar.gz".

Actually, it's been quite a while since you can enable the Windows Subsystem for Linux. Here you can find an official tutorial. I haven't tested it much, but I remember that the commands you mentioned were working.
2240  Bitcoin / Development & Technical Discussion / Re: Lightning Network fraud possible? on: August 16, 2018, 01:13:13 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

In this case, request the payment before providing the service, it's as simple as that. Large companies can afford running a Lightning Network node 24/7 so they won't even need watchtowers in case someone attempts to cheat by broadcasting an old state of the channel.

even though there's anonymity/privacy concern to both parties and anyone who use their channel to route transaction.

The nodes which route the payment don't know who initiated the transaction and what the destination is (assuming that they are not the first and the last node). Sharing the transaction history would be enough (more specifically - payment preimage is needed for each transaction since it's a proof of successful payment). Why are you so concerned about privacy when anyone can view the details of on-chain transactions? The Lightning Network helps to increase the level of privacy, but don't expect to be completely safe.
Pages: « 1 ... 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 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!