Bitcoin Forum
May 25, 2024, 02:21:11 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 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 121 122 123 124 125 ... 590 »
1481  Bitcoin / Development & Technical Discussion / Re: c-lightning on testnet: problems and questions on: January 29, 2018, 12:57:59 AM
c-lightning coexists with bitcoin core whereas right now lnd doesn’t.
LND has the option to use Bitcoin Core as the full node backend.
1482  Bitcoin / Bitcoin Technical Support / Re: BitcoinD RPC Server on: January 29, 2018, 12:49:59 AM
Thanks! For anyone else reading, I noticed that bitcoin-cli worked properly when bitcoind was invoked via the command line, but not when running the GUI.

Adding "server=1" to bitcoin.conf fixed this issue.
bitcoind will default to server=1. bitcoin-qt will not. So if you want to use the RPC server while running bitcoin-qt, you need to set server=1
1483  Bitcoin / Bitcoin Technical Support / Re: Questions on - Signature aggregation and Lightning networks on: January 29, 2018, 12:48:38 AM
-snip-
This argument relies on a model where the Lightning Network is in a degenerative case where it is a linked list and not a well connected graph. From current testing and use of the Lightning Network on both testnet and mainnet, we can clearly see that the Lightning Network is not this degenerative case and is instead a well connected graph. If a channel is chosen as part of a route going one direction, it can also be chosen for a similar transaction going the other direction, and that would re-balance the channel.

Furthermore, you can limit how much you allow in routes through your channels. So if B wanted to ensure that he still had money to pay C, he can refuse to route A's transaction of 10 BTC. A would instead have to find another route, which, given a well connected graph, is not very hard.
1484  Bitcoin / Bitcoin Technical Support / Re: Dealing with Bitcoin hackers on: January 29, 2018, 12:39:24 AM
  • Redirect them to a file which contain a malware, a virus or an insult
  • Redirect them to a file which contain a script that will mess them (wait forever, hang their PC, etc.)
I would suggest that you not try these as those are things that can get you in trouble with the law. Well, having an insult is fine, but distributing malware is not.
1485  Bitcoin / Development & Technical Discussion / Re: [LN] What is the typical payment channel expiration time? on: January 29, 2018, 12:35:51 AM

What you say changes my fundamental understanding of how LN works (or rather makes me think I don't really understand it).

From Wikipedia:



Isn't this transaction should be time-locked? I always thought about revocation as a spending hashlocked output back to myself while time-lock have not expired (if that makes any sense).

Also from here https://youtu.be/8zVzw912wPo?t=372 i get the impression that channel has limited lifetime (even though he speaks about unidirectional channel in this part I don't see how it's fundamentally different from bidirectional channels).
No, the revocation key is only used for the punishment transaction for broadcasting an old commitment transaction. The revocation key is only known after both parties in the channel have agreed to revoke a commitment transaction and replace it with a new, updated one.

The only thing with timelocks in LN are HTLCs (it's in the name) which are only used for routing payments to other people.
1486  Other / Meta / Re: Can a newbie become a merit source ? on: January 26, 2018, 05:04:31 PM
Merit sources tend to be higher ranked and trusted members who have a history of making quality posts. A newbie does not have that history of quality posts nor are they trusted. Those come with time and experience. Thus it is unlikely that a newbie would become a merit source.
1487  Bitcoin / Development & Technical Discussion / Re: How to calculate transaction fees ? on: January 26, 2018, 04:03:10 PM
Then: a*180 + b*34 + 10 +/- 1
Unless you are using uncompressed public keys (and very few wallets do this anymore), the input multiplier will be 148 instead of 180.
1488  Bitcoin / Development & Technical Discussion / Re: [LN] What is the typical payment channel expiration time? on: January 26, 2018, 03:56:21 PM
Channels do not have an expiration time. The commitment transactions are not timelocked, nor are they HTLCs. The HTLCs are used for routing payments, and those are timelocked.

Looking through my open channels and through the network graph, it seems like a timeout of 144 blocks (aka 1 day) is the most common.
1489  Bitcoin / Bitcoin Technical Support / Re: Why need bitcoin source compiling? on: January 26, 2018, 03:51:39 PM
Bitcoin Core is written in C++ which is a compiled language. Thus it needs to be compiled in order to be run. Compiled languages are used because they give more control over memory management and are more efficient and optimized/optimizable than scripting languages which do not need compiling.
1490  Bitcoin / Development & Technical Discussion / Re: Will Lightning Network be able to deploy forks in future? on: January 25, 2018, 07:47:22 PM
oh yes you need consensus if you send a single transactions across 20,000 nodes because they are not received in order by each node
so a kind of vote takes place to decide the winning combination
Huh

That's not at all how lightning works.

Question
Does having more nodes increase the overall speed of the network or reduce the speed !
Neither. It does neither.
1491  Bitcoin / Development & Technical Discussion / Re: MuSig: Schnorr Multisig and signature aggregation on: January 25, 2018, 07:44:44 PM
Soft fork? I wonder if it's possible since MuSig use different signature format which older nodes won't able to recognize or there will be backwards compatibility just like SegWit where older nodes only can see non-witness data?
The fork would presumably use the witness program versioning thing that segwit introduced. This would mean that it uses a new witness program version, so older software will just ignore it as it is a new version it does not understand.
1492  Bitcoin / Development & Technical Discussion / Re: Will Lightning Network be able to deploy forks in future? on: January 25, 2018, 07:08:55 PM
It's a part? Means it can be called sub-blockchain to let others transact off-chain?
No. It is not a sub-blockchain. LN is not a sidechain. LN is not a blockchain in any way, shape, or form.

But, as there are on-chain forks possible, there may come something like off-chain forks too if they are not satisfied with the delivered results and there may arise problems with it too (maybe) where an upgrade may be expected and a "possibly soft if not hard" fork may be required?
LN does not require any consensus changes. It itself has no consensus protocol. Thus there is no way to have a fork because there is no consensus to change. The LN protocol is extensible, and changing it just means bumping a version number. There is no forking.
1493  Bitcoin / Development & Technical Discussion / Re: Will Lightning Network be able to deploy forks in future? on: January 25, 2018, 06:58:27 PM
The lightning network is not a fork nor does it do anything with Bitcoin's consensus rules. It can't really be hard forked unless the underlying asset (aka Bitcoin) is forked. LN works on top of the blockchain; it is not its own separate coin with its own consensus rules.
1494  Bitcoin / Development & Technical Discussion / Re: MuSig: Schnorr Multisig and signature aggregation on: January 25, 2018, 05:38:25 PM
What will the activation threshold be? I think it was 95% for 2 weeks for BIP141 or something like that innit?
It will likely be the same as that is just following the BIP 9 specification.

Again, there currently is not BIP nor is there an actual proposal for using this in Bitcoin yet. We won't know the actual details until that happens.
1495  Bitcoin / Development & Technical Discussion / Re: What are the fees on the Lightning network? on: January 25, 2018, 05:36:23 PM
I don't think LN has gone live and was expecting a wait of 9 months to a year so do you have a
link please or are you talking about testnet
There are already people using LN on mainnet. There does not need to be a release of LN (whatever that means) or for it to "go live". It's not a central thing where one group can announce that it has "gone live".

Some stats about the LN mainnet can be found here: http://lnstat.ideoflux.com:3000/dashboard/db/lightning-network?refresh=5m&orgId=1. A graph of the nodes can be found here: https://lnmainnet.gaben.win/

Multiple people are accepting LN mainnet payments such as TorGuard: https://twitter.com/TorGuard/status/950383059735646209 and Blockstream: https://store.blockstream.com/
1496  Bitcoin / Development & Technical Discussion / Re: MuSig: Schnorr Multisig and signature aggregation on: January 25, 2018, 04:31:55 PM
Will this be deployed as a regular BIP or does it need another soft-fork like BIP141? because im not looking forward to years of segregated witness drama part 2, im getting too old to manage that stress  Tongue
Deployment will need another soft fork, and it will be BIP'ified as usual.
1497  Bitcoin / Development & Technical Discussion / Re: Why DB so big? on: January 25, 2018, 04:02:41 PM
But still, you will not be able to reuse your block files within a forked client to access forks faster for example.
You can always stop a node after syncing to a certain block height, backup the datadir, and then resume syncing. Now you will have a copy of the datadir before any forks and just copy and paste that datadir into the datadirs of forked clients to sync their forked blockchain. Since the pruned datadir is small, there isn't much additional disk space taken up by doing this, and way less than if you didn't prune the blockchain.
1498  Bitcoin / Development & Technical Discussion / Re: What are the fees on the Lightning network? on: January 25, 2018, 03:59:42 PM
Thus far the only fees that I have observed have been only one satoshi per hop. Granted that's on testnet.
1499  Bitcoin / Development & Technical Discussion / Re: Unique BTC amount instead of an address for IPN on: January 25, 2018, 03:57:08 PM
One problem I see is that if a lot of people are buying stuff at the same price, there may not be enough unique numbers that can be generated that have a negligible effect on the amount that the customer is actually paying.
1500  Bitcoin / Bitcoin Technical Support / Re: Questions on - Signature aggregation and Lightning networks on: January 25, 2018, 03:50:16 PM
1) Will signature aggregation / Key aggregation be available for legacy addresses that start with '1' or are these only for multi-signature addresses that start with 3 or bc1? If not, could somebody explain to be in an easy to understand way on why is this the case?
It will likely only be available for addresses beginning with bc1, and even then it won't work with all addresses that begin with bc1. Rather it will likely only work with those addresses which encode another witness program version (the current ones are for witness version 0). This is because introducing signature and key aggregation will need to use new script opcodes which are more easily introduced via a soft fork in a new witness version. Basically, since Bitcoin does not currently support key or signature aggregation, new script opcodes will need to be created that do support those things and the only way that they can be used is if new outputs use them. Thus all current outputs that do not use those currently nonexistant opcodes will not be able to use signature or key aggregation.

Note that this is not a guarantee. There has not yet been a proposal for implementing this in Bitcoin. All that we have so far is just the cryptography itself. So perhaps someone will think of a way to make key and signature aggregation work with old outputs.

2) I've tried opening a lightning channel using the lightning-app on testnet, I really loved playing around with it and am Impressed with the instant payments. I was wondering if anyone else could send me ligthning payments (me receiving them) if my channels were already fully funded and the 'Available to receive' is '0'. If this were to be the case, would the sending party have to independently open a new channel with me to send me the funds instead of having to rely on existing channels?
If the other party in all of your channels has a balance of 0, then you cannot receive Bitcoin. What would need to happen is that you either transaction and send money to someone else thus moving funds to the other person in your channel, or someone opens up a channel with you and they fund the channel.

3) Will the users be allowed to set an nLockTime or a time period after which the channels will be automatically broadcasted to the bitcoin network and closed? Currently I've tested Eclair for android, lightning-app and Bitcoin + lightning wallet for android and they all seem to not provide this option. I'm assuming it's a 'To be developed' thing?
AFAIK, currently you cannot do that. But there's no reason why that can't be implemented in the future.

4) Will I need a lightning node with a public IP broadcasted in order to be able to earn from fees for nodes using my channel to transact between each other?
No. So long as you have channels established with other people and have active connections to other nodes, you can be chosen to be part of a route without accepting incoming connections.
Pages: « 1 ... 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 121 122 123 124 125 ... 590 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!