Bitcoin Forum
June 17, 2024, 04:38:02 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 ... 81 »
241  Bitcoin / Development & Technical Discussion / Re: The Lightning Network FAQ on: October 04, 2021, 08:58:34 PM
not sure the first is (only) tor related:
Code:
	case WIRE_TEMPORARY_CHANNEL_FAILURE: {
/* These are an indication that the capacity was insufficient,
* remember the amount we tried as an estimate. */
source: https://github.com/ElementsProject/lightning/blob/5c38e5a08fbf15cc4a7e31ef1a017b580b11a4c6/plugins/libplugin-pay.c#L1250

I stand corrected, I misread that into the onion_ files that popped up first from my grep, overlooking the libplugin-pay.c.






Reposting this from WO thread here as heads-up:

Lightning node operators need to patch some vulnerabilities ... now  Cry

https://lists.linuxfoundation.org/pipermail/lightning-dev/2021-October/003264.html

> The vulnerabilities are expected to be patched in:
> * Eclair: v0.6.2+ (CVE-2021-41591)
> * LND: v0.13.3+ (CVE-2021-41592)
> * LDK: v0.0.102 (not released as production software yet)

* C-lightning v0.10.2 (CVE-2021-41593)

[moderator's note: consecutive posts merged]
242  Economy / Speculation / Re: Wall Observer BTC/USD - Bitcoin price movement tracking & discussion on: October 04, 2021, 08:54:04 PM
N00b mistake. They forgot to extend the domain?!
ROFLMAO.

$59 and zuck is your little whore? Tempting  Grin

Doesn't look like it. More like someone nuked their DNS.  Cool

Obviously they withdrew their own routes from BGP in an automation snafu, so basically they nuked themselves from the internet.

Funny quote from The Reg article:

New York Times reporter Sheera Frenkel said she was "just on phone with someone who works for FB who described employees unable to enter buildings this morning to begin to evaluate the extent of outage because their badges weren’t working to access doors."

You can't make such stuff up, doors don't open because fb.com is down.

* psycodad shakes head in disbelief, rolling his eyes.
243  Bitcoin / Development & Technical Discussion / Re: The Lightning Network FAQ on: October 04, 2021, 03:07:33 PM
Does getroute not know the capacity/liquidity of channels in transit?

No, liquidity is not advertised across the network. That would be a privacy infringement. It knows the total channel capacity, though.

Makes perfect sense, I confused capacity with current liquidity.
Otherwise it would be possible to see which channels are used or not by taking snapshots of the liquidity balance from them. My thinking error.

Or what other reasons can make a transaction fail (locally or remote)?

Locally: Check out this comment. There are apparently five possible causes. lightning-cli listforwards returns the exact error if a transaction fails locally.

Remotely: Some node might fail a transaction locally or suddenly go offline. There might be some other causes that I am not aware of at the moment too.

Thanks, funny enough the two errors I get locally are not listed there:
Code:
"failreason": "WIRE_TEMPORARY_CHANNEL_FAILURE",
"failreason": "WIRE_REQUIRED_NODE_FEATURE_MISSING",

From grepping the sources I conclude these are both related to tor connections in some way.
The first seems to be nodes down the routing path being unreachable and the second I do not understand completely yet but it seems related to a disagreement of nodes regarding some HTLC parameters.
Will keep reading the debug.log around successful and failed transactions to try to get a better understanding on what exactly happens under the hood.
244  Bitcoin / Development & Technical Discussion / Re: The Lightning Network FAQ on: October 04, 2021, 01:35:23 PM
I get about as much failed transactions as successful ones on my node.

It's completely normal. I have successfully routed 84 transactions and I have 357 failed transactions.

Thanks for your reply and explanation, that's comforting to know, I first thought I'd possibly stuck my fat fingers too deep into the thing at some point Grin

Does anybody know how I can further investigate the reason for failed transactions (RTL just says "failed" as status) ?

"Failed" means that the transaction failed at some further point in the route. If your node fails to route a payment then you will see "Local_failed" instead. You can't really do much about it. If you see a lot of 10, 10k, 100k sat failed payments then someone is very likely probing your channels. It can be done with any other amount as well.

Checking further, I saw that I also have a few "Local Failed" transactions.
But I am still wondering what would make a transaction fail. I played around a bit with the "getroute" rpc command and I was under the impression that querying a route given a certain amount to transfer will only return channels that have the respective capacity/liquidity to route this payment. Is this wrong? Does getroute not know the capacity/liquidity of channels in transit?
Or what other reasons can make a transaction fail (locally or remote)?
245  Bitcoin / Development & Technical Discussion / Re: The Lightning Network FAQ on: October 04, 2021, 12:48:46 PM
I get about as much failed transactions as successful ones on my node.

Does anybody know how I can further investigate the reason for failed transactions (RTL just says "failed" as status) ?

246  Other / Off-topic / Re: [WO/Hat-Gang Only - MODERATED] The fucking COVID vax thread (No hat? Fuck off!) on: October 04, 2021, 08:52:23 AM
Our gubbermint announced last Friday to hire 1700 "consultants" to go from door to door and talk the unvaccinated into getting vaccinated.
Also there is a bounty if you can convince somebody else to bite the bullet, you get 50 bucks for everybody who refers to you as your "vaccination convincer" upon getting the shot.

Still you get to sign a form that you are 100% voluntarily getting vaccinated, otherwise you won't get the shot(s).

I would be really interested who in our government holds Moderna or Pfizer stocks.

P.S.: Our countries huge stockpile of vaccinations expires in about a month - but that certainly has nothing to do with it, it's all only for our best.

247  Bitcoin / Development & Technical Discussion / Re: bitcoind, c-lightning and RTL on centos 7 (walktrough) on: September 27, 2021, 03:55:47 PM
Just wondering: Why CentOS 7? I just checked Wikipedia and it says it will be discontinued end of year? Actually, there's CentOS 8 as latest version, so even 7 would be an old version now (while still maintained).

That's not mocacinno's fault, when he wrote that walkthrough Centos 7 was still a thing with an EOL far in the future but Redhat (IBM) totally fucked this one up.
They saw Centos eating into their RHEL sales a lot and decided to move EOL for 7 and 8 forward quickly (8 EOLs end of this year). It will be replaced by Centos Stream which is unsuitable as a free replacement for RHEL in the enterprise landscape like Centos was as it seems to be a rolling version.

However the Centos community forked AlmaLinux which aims to replace Centos as free point release of the RHEL sources and so far it does a great job. Projects that build on Centos now mostly use AlmaLinux.
I would say most if not all of this walkthrough should work with AlmaLinux perfectly fine.
248  Bitcoin / Development & Technical Discussion / Re: bitcoind, c-lightning and RTL on centos 7 (walktrough) on: September 25, 2021, 08:46:52 PM
The whole nginx install and config is to be able to use a HTTPS certificate? I have not installed a node on a VPS, always in local networks that's why I ask, I just use the local IP.

Yes, that and you get the advantage of being able to restrict access further by ip-addresses (and more webserver config kung-fu if you like).
It's certainly not advisable but RTL can be exposed to the network in many easier ways (like a port redirector).
249  Economy / Speculation / Re: Wall Observer BTC/USD - Bitcoin price movement tracking & discussion on: September 24, 2021, 10:12:20 AM
And perfectly timed to the dip somebody pushed about 6MB worth of 1sat/b transactions into the mempool:



https://jochen-hoenicke.de/queue/#BTC,8h,weight

Interesting... (and no, I don't think these are panic sellers sending their corn to exchanges)

(My lightning funding tx can wait a few hours, easy-peasy..)
250  Bitcoin / Development & Technical Discussion / Re: The Lightning Network FAQ on: September 23, 2021, 04:12:58 PM
And for the base fee, free/0?
there are some people setting the base fee to zero because of a paper from rene pickhardt and stefan richter. i personally do the exact opposite. i don't charge a percentage fee, only a base fee

Thanks, I see the point for setting base to zero and having a percentage fee only. I will let that sink but I guess it boils down to concentrate on one of the fees and set the other to 0.

Also I am wondering about tor vs. clear-net nodes, is it possible to "dual-host" a node on tor AND clear-net at the same time or do I have to stick with one or the other?
you can have both at the same time, even ipv4, ipv6 and tor if you want

Good to know, I have tried that now and it turns out it was easier than thought and meanwhile I am announcing ipv4, ipv6 and tor v3 addresses (needed to compile the latest tor version as the one that came with the OS didn't support v3 services).
251  Bitcoin / Development & Technical Discussion / Re: The Lightning Network FAQ on: September 23, 2021, 12:43:39 PM
Thank you for your reply and explanations so far.


Yes, you can set two parameters for each channel: base fee and fee rate (also known as PPM - pay-per-millionth). The fee formula looks like this:

base_fee + (forwarded_amount * fee_rate/1000000)

When you route a payment, you receive some coins in one channel and you spend coins from your other channel. You don't charge someone twice for your service. The fee paid by the payer is calculated based on the fee settings of the channel which forwards the payment to the next node.

Thanks a lot for that, I think I got it now how fees are set.
What I am still unclear is how the fee collection works, are you saying that if Alice pays to Bob over nodes X, Y and Z, X charges a fee to Alice and pays from that Y fees, who in turn pays Z fees?
Like in:
Alice - [X] - [Y] - [Z] - Bob
So fees have to be Xfee > Yfee > Zfee, otherwise somebody is going to make a loss?
Or if I am for example X, would I calculate Y's fees and add it ontop of mine and charge the sum to Alice, like in calculating total cost of a specific route?

Sorry for the stupid question, I just read https://medium.com/suredbits/lightning-101-lightning-network-fees-86abbbc17024 and I am none the wiser still.
EDIT: Just found this one, and it says Alice pays the sum of all fees to X, X pays Y and Z fees to Y etc.


I am not sure how well c-lightning's autopilot works. I believe that LND's autopilot opens channels mostly to large nodes. That's not really what you want if you want to maximize your routing earnings. Looking for good peers can take a lot of time, but it's kind of fun.

Yeah I started to figure that negotiating channels with peers is going to be the fun part, almost like negotiating peerings in the old internet days. I was interested in the autopilot to a) get a grip on how plugins work in c-lightning and b) to see what it would do in dry-run. But I am all game for the social fun part of establishing channels  Grin


What are some ballpark figures for like dirt-cheap but not free and what are some upper bounds before it becomes criminal price gouging (yeah I understand, the network just routes around expensive nodes, but you should get the idea what I try to ask for)?

That's a tough question. I wouldn't open a channel to someone who charges more than 100 PPM in most of their channels.

That's something to start off from, thanks a lot.
And for the base fee, free/0?


Also I am wondering about tor vs. clear-net nodes, is it possible to "dual-host" a node on tor AND clear-net at the same time or do I have to stick with one or the other?

252  Bitcoin / Development & Technical Discussion / Re: bitcoind, c-lightning and RTL on centos 7 (walktrough) on: September 23, 2021, 11:13:03 AM
<snip>
Also, you might find The Lightning Network FAQ useful. Most of the LN related discussion is held there.

Thank you for your reply, you are ofcourse right, I replied to your post in your thread:

https://bitcointalk.org/index.php?topic=5158920.msg58004580#msg58004580
253  Bitcoin / Development & Technical Discussion / Re: The Lightning Network FAQ on: September 23, 2021, 11:11:04 AM
I am posting this reply here, it was Rath_'s reply to my post in the bitcoind, c-lightning and RTL on centos 7 (walktrough) thread and he rightly suggested to come here with my questions.

If anybody has any reading pointers on how fees work in lightning, what good settings are etc.

There are no good settings. If you open a channel between two large nodes then you will probably not route any payments unless you set your fees to zero. You have to experiment with your fee settings. I opened a large channel to Bitfinex and a small one to Nicehash. Even though my fees in that channel (Bitfinex) were high (1 sat base fee; 95 ppm), I routed quite a few payments. The largest one was ~950k satoshi and I earned ~91.5 sat in routing fees just for that single transaction. After some time I had to lower my fees since no one wanted to send their payment through that channel.

Are you familiar with the way the fees are calculated or do you need an explanation?

No, to be honest I do not seem to understand the fee system fully yet. I have a solid understanding of how the fees work on-chain but not in lightning. From what I've seen there is a base fee and a percentage of the amount to be sent?

Also, I would be interested what the settings of "urgent", "normal", "slow" etc. mean when setting up a new channel, I guess urgent translates to high fees, but I am not sure yet.

Honestly, I would not use RTL to open and close channels. I overpaid a few times because of it. Also, you can open multiple channels in a single transaction via a command line! This way you can save a ton on money on the transaction fees.

Good point, I guess that's because RTL sets the on-chain fee for the funding transaction high enough to get into the next block at anytime and by doing it manually you can use 1-2sat/byte and just wait some time.

Are people setting their fees on a per-channel basis or globally?

Most people set their fees on a per-channel basis. If you are running a small node then you will very likely change them often. There is a plugin which automatically adjusts the fees for each channel but I am not sure how well it works.

Oh plugins, that's one open construction site I still have  Cheesy Didn't really work out yet, there are a few I would like to use, like the sqlite3 duplication and ev. autopilot but I can't get them to run yet. But I understand the general idea is not to care about the defaults, but fine-tune each channel so that it starts routing payments.
What are some ballpark figures for like dirt-cheap but not free and what are some upper bounds before it becomes criminal price gouging (yeah I understand, the network just routes around expensive nodes, but you should get the idea what I try to ask for)?

By the way, are you interested in opening a dual-funded channel at some point? It is still an experimental feature but I have successfully opened this type of channel with two other bitcointalk members. Here's my node for reference. Also, you might find The Lightning Network FAQ useful. Most of the LN related discussion is held there.

I am all in, just need some time to get more experience in operation of my node before I waste your time. I will happily get back to you by PM in the next days. I still need to finalize the setup in terms of DR plan / backup / resilience. I'll still need some assistance in creating this via rpc interface.

Thanks for the advice to move my questions to here, which I did.
I should have posted my questions here in the first place as you suggested, I only wanted to let mocacinno know how much his walkthrough helped me.
254  Bitcoin / Development & Technical Discussion / Re: bitcoind, c-lightning and RTL on centos 7 (walktrough) on: September 23, 2021, 09:04:10 AM
Thank you mocacinno for this excellent walk-through!
I used it to setup my own lightning node on Devuan (hating systemd and the Poettering fuckwit so much I went that extra mile) and it's supported by my VPS host.

What was impressing with the latest bitcoin core v22.0 is that synching from scratch took less than 24hrs on a pretty low-end VPS with spinning rust. Last time I synched a bitcoin node in 2014 (on much more low-end HW) it took me 2 weeks.

Overall a very exciting experience thanks to your HowTo, I greatly appreciate the time you have taken and I am very pleased with the results so far!

Now I have to go to find out how I set the fees (working with the defaults so far) and what reasonable fees are. I don't want to go full free (because what's free is not worth anything) but to set very moderate/low fees. If anybody has any reading pointers on how fees work in lightning, what good settings are etc., I would be happy to hear about that.
Also, I would be interested what the settings of "urgent", "normal", "slow" etc. mean when setting up a new channel, I guess urgent translates to high fees, but I am not sure yet.

Are people setting their fees on a per-channel basis or globally?

Again, thank you very much for the great HowTo, it gave me a great and easy start into the topic!
255  Economy / Speculation / Re: Wall Observer BTC/USD - Bitcoin price movement tracking & discussion on: September 19, 2021, 01:18:23 PM
Dear Lord, dear Chartbuddy, dear Elon and all the others mighty enough to move the BTC price with the blink of an eye:

Please make the price do something so that we can leave these pointless and exclusively dividing vaccination arguments behind us and get back to lovely SOMA TA with dragon drawings, rollercoaster memes, lengthy AI novels, lightning appraisal, ranch and sea property development progress reports and planning of the 1M party.
I would prefer an increase, but hell if it takes a nose dive to stop this hateful crap I'll be fine with it too.

Amen.Weeeeeh!


256  Economy / Speculation / Re: Wall Observer BTC/USD - Bitcoin price movement tracking & discussion on: September 16, 2021, 01:08:24 PM

google auth has issues if the phone breaks.

sms does not have the issues.  So they use sms.

If you are locked out of  your account due to a broken phone and have sms. Buy a new phone port the old number  and you have sms working.

If this happens with google auth the new google auth does not work as it will not be synched.


Sms can be made secure more secure if crossed linked to an email and the email is crossed link to a password.

I am not a smart phone user so my question may be dumb, apologies then.
But what keeps you from backing up your 2FA OTP key in a safe place and just restoring it on the new phone? I mean it's a pretty short character string that even can be handwritten on a post-it (pun intended).

SMS ist just unsafe and dangerous for such sensitive things in todays world.

[EDIT]: I just realized what I wrote above when I said "I am not a smart phone user", I actually meant "I am not a smartphone user". But since both apply equally well to me I'll stick with the first one  Smiley
257  Economy / Speculation / Re: Wall Observer BTC/USD - Bitcoin price movement tracking & discussion on: September 16, 2021, 10:58:24 AM

In this context the latest tweet from Satya Nadella is pretty funny:

Quote
The future of security is passwordless. Beginning today, we’re making this vision a reality for consumers with a Microsoft account.

https://twitter.com/satyanadella/status/1438143437732147204

Good Wonderful find, that is really hilarious timing. Literally have coffee on my screen now  Cheesy

Oh the irony..
258  Economy / Speculation / Re: Wall Observer BTC/USD - Bitcoin price movement tracking & discussion on: September 16, 2021, 09:45:40 AM
Slightly off-topic, but if you are using an Azure VPS, you'd better check this:

https://www.wiz.io/blog/secret-agent-exposes-azure-customers-to-unauthorized-code-execution

TL;DR: Just send NO authentication headers and you are root on virtual Linux machines with OMI installed (they kindly install it for you in many to most cases).

In the 90's we often joked that the first Microsoft product that won't suck will be a vacuum cleaner... (obviously this one just doesn't get old).
259  Economy / Speculation / Re: Wall Observer BTC/USD - Bitcoin price movement tracking & discussion on: September 08, 2021, 10:44:09 AM
Just watched the German "Tagesschau" on one of two of their national channels (ARD). Almost spit my fine meal across the table and thought I'd quickly recap what was told:

  • The cryptocurrency (<- trigger warning) Bitcoin which is also favoured a lot by criminals has lost 30% yesterday, right in the moment when El Salvador started to use it as official payment method
  • What caused Bitcoin to fall so tremendously? Answer from the stock exchange correspondent: Because the introduction was a massive failure, but also because this "experiment" calls regulators to arms who are afraid that this will be abused for criminal and illegal activity.
  • El Salvador says it will attract investors and make international remittances easier but regulators say the risk this will facilitate money laundering is increasing
  • The Bitcoin community applauded El Salvador frenetically first, but now (the Bitcoin fans) talk about an own goal.

For myself I take away two points:
  • The MSM (even those that think they are the good guys) are useless if not rightout means of propaganda for those in power.
  • Bitcoin is taken very serious (that's why they attack it hard now), this tells me we're on the right way.

I see a lot of fear in the eyes of our opponents, this is a great sign, but IMO we should expect some drastic steps from them in the time to come.

* psycodad heads back to The Lightning Network FAQ thread and continues with preparation for his own lightning node - fuck the central banksters.
260  Economy / Speculation / Re: Wall Observer BTC/USD - Bitcoin price movement tracking & discussion on: September 07, 2021, 10:02:47 AM
Is it dead? (Or does it possibly just have a lil hangover from the El Salvador party last night?)

Whatever, just bought the dip, even so I actually wanted to sell some in the next days for wanted/needed thingies. Turned out what I really wanted most was more corn, other thingies (wordy man would call it 'funzies') have to wait a little longer.

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 ... 81 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!