Pages:
Author

Topic: Electrum Lightning Demo - page 2. (Read 1021 times)

legendary
Activity: 3374
Merit: 3095
BTC price road to $80k
March 24, 2020, 11:37:09 PM
#34
~snip~

The channel status is open but the result still the same.


Did you set something from settings? Maybe I miss some settings that's why it doesn't work.

I got the copy from HCP the latest build and I'm currently using windows 7.
legendary
Activity: 2534
Merit: 6080
Self-proclaimed Genius
March 24, 2020, 11:16:29 PM
#33
I got different error as you can see above this is not the same error as before.
I received that error before when I was using the not-so-latest build, the latest build should show the "no path found" or a specific message.
Are you sure that your channel(s)' status are all Open?
I've just tested again, and it worked:
legendary
Activity: 3374
Merit: 3095
BTC price road to $80k
March 24, 2020, 07:58:15 PM
#32
@BitMaxz        | Try testnet and buy virtual coffee from here: https://starblocks.acinq.co/, works everytime at my end.

Still doesn't work look at the image below.



I got different error as you can see above this is not the same error as before.

copper member
Activity: 2296
Merit: 4460
Join the world-leading crypto sportsbook NOW!
March 24, 2020, 02:46:47 PM
#31
@blue Snow and anyone else who's bored stuck at home and wants to play with this, I uploaded the portable executable version to my google drive, the link is below.  I signed the portable with my PGP key, and uploaded the sig file.  Links to both the key and the sig file are also linked below.

I built the binaries on March 21st, so it may not the most recent version available, but it's close.


If you use it, please keep in mind that this is a pre-beta release.  I take no responsibility for it's misuse, and any loss of funds you may experience as a result of it's use.  

Use it at your own risk.

By downloading and using this file, you are acknowledging and accepting these terms.


To use it with testnet, you'll need to create a shortcut, and add this code to end of the "target" field in the shortcut's properties.  A space is needed before the code, so make sure it's there.
Code:
--testnet

The whole field should look something like this:
Code:
C:\path\to\file\location\electrum-3.3.8-1821-g1448bfe93-portable.exe --testnet


The links:

My PGP Key: https://bitcointalksearch.org/topic/m.54029233
Signature file: https://drive.google.com/file/d/1OgCm-Hyu2YF1bBRbAtvP82XqeKXMrT8J/view?usp=sharing
Electrum portable executable: https://drive.google.com/file/d/1Tua1pnLztCZsIcQJBFtdmYmLsGY2qhZQ/view?usp=sharing

copper member
Activity: 2296
Merit: 4460
Join the world-leading crypto sportsbook NOW!
March 24, 2020, 02:27:49 PM
#30
Status report:
I've had a chance to set up one of the wallets on my Ubuntu VM (still on the same physical PC.)  Both wallets are capable of sending payments to starblocks.acinq.co, but still have trouble sending payments to each other.  I wasn't using VPN when I created the first requests, so I tried again.  For the second test I turned VPN on the primary OS and on the VM, and confirmed both had different IPs.  I didn't expect this to solve the issue, but I figured it was worth the experiment.





I'm wondering if this is an issue with Electrum itself, and not the fact that I'm using the wallets on the same computer.  Would one of you be so kind as to help me test this theory?  Here's a testnet request for 100 satoshis, please only only use Electrum to fill this request.

Code:
lntb10u1p085ne6pp5rx5s46gw2ygwv3vzm8cxnnpjgrafem67xuvgpkhepu5uaq6uqgkqdzq2fjhzat9wd6zqen0wgsxsetvwqsxvun0d5syy6t5vdhkjmn5v9kxkgrdv4kkyetjcqzynxqyz5vqrzjq027z73uyyl7fy8pkrpcn7x0el82pz3fw974p2052de4uz4j5lqqxxtly5qqqmqqqqqqqqlgqqqqqqgq9qqpl4tgpvlc6eylpqj0z7h29kl0ss3x3xepruz0j2j4kkl4hekms49m3ha7hsw74elle76mpaqs0uum3gs4zvy3rf9kf0e5urgdljcssq84pfnl


One other test I will do when I have time is to close the channels, and open another while connected to VPN.  I'm not sure if my IP as anything to do with it, or if I'm barking up the wrong tree.
legendary
Activity: 2534
Merit: 6080
Self-proclaimed Genius
March 23, 2020, 10:30:56 PM
#29
can someone share electrum 4.0 file with me ?, I want to try it #stayathome
AFAIK, HCP (Profile link) have a pre-compiled Electrum 4.0.0a0. Do not search 4.0 in google because you'll only find fakes there.
Me, I'm running it from source.

I had an intuition that running both wallets on the same PC might have had something to do with it, but I dismissed that notion.  I'll try running one wallet on the VM and see if that works.  If not, I'll use a laptop.  I'll report what I find.
I have the same issue I've been testing things on lightning to send the testnet coin but I'm still failed until I stop testing so many things to make the lightning sending works. I was planning to test it before with BTCpayserver but since the issue still occurs I gave up.
@DireWolfM14 | I'm also thinking that  it's an issue with multiple instances of Electrum as the error pops-up on both instance, not just the sender.

@BitMaxz        | Try testnet and buy virtual coffee from here: https://starblocks.acinq.co/, works everytime at my end.
legendary
Activity: 1526
Merit: 1032
Up to 300% + 200 FS deposit bonuses
March 23, 2020, 07:57:40 PM
#28
can someone share electrum 4.0 file with me ?, I want to try it #stayathome
legendary
Activity: 3374
Merit: 3095
BTC price road to $80k
March 23, 2020, 11:41:29 AM
#27
I had an intuition that running both wallets on the same PC might have had something to do with it, but I dismissed that notion.  I'll try running one wallet on the VM and see if that works.  If not, I'll use a laptop.  I'll report what I find.

I have the same issue I've been testing things on lightning to send the testnet coin but I'm still failed until I stop testing so many things to make the lightning sending works. I was planning to test it before with BTCpayserver but since the issue still occurs I gave up.

I'm following this tweet https://twitter.com/lukechilds/status/1195739189075005440x
And waiting for him to respond to how he made the lightning payment worked.

Try to contact him through twitter and maybe this time he might answer you.
copper member
Activity: 2296
Merit: 4460
Join the world-leading crypto sportsbook NOW!
March 23, 2020, 08:39:13 AM
#26
I've just tested to send to my other wallet (same PC) with enough inbound capacity, and it also failed to send with the same error.
I never had any problem with sending and receiving lightning funds (testnet) to others, though.

I had an intuition that running both wallets on the same PC might have had something to do with it, but I dismissed that notion.  I'll try running one wallet on the VM and see if that works.  If not, I'll use a laptop.  I'll report what I find.
legendary
Activity: 2534
Merit: 6080
Self-proclaimed Genius
March 23, 2020, 02:02:44 AM
#25
Interesting, I see you have a fourth line in your pop-up window, I don't see that line in mine.  The line that's missing is the "requesting xxxx channels."
It's showing at random, keep the window open and you'll definitely see it.

Both of my wallets show the status of my channels as "OPEN."  The "node alias" column is blank, the "local" shows how much I have in the channel, 0.1 BTC, and the "remote" column is 0.
How about the 'channel capacity' (the amount you can send and receive)?
You can't receive anything unless you've already sent some satoshis.

-Edit-

Never mind the second part,
I've just tested to send to my other wallet (same PC) with enough inbound capacity, and it also failed to send with the same error.
I never had any problem with sending and receiving lightning funds (testnet) to others, though.
copper member
Activity: 2296
Merit: 4460
Join the world-leading crypto sportsbook NOW!
March 23, 2020, 12:40:23 AM
#24
That error is quite generic, it's hard to tell is issue.
It will also pop-up when you tried to send lightning payments if there's no opened channel,
'opening' or 'disconnected' channel status, poor connection, etc.

When you click on the lightning logo (beside the seed/connection icon), you'll see something like this:

How many channels and nodes do you see?
In the "Channels" tab, what does it say under "status" of the channel?

Interesting, I see you have a fourth line in your pop-up window, I don't see that line in mine.  The line that's missing is the "requesting xxxx channels."



Both of my wallets show the status of my channels as "OPEN."  The "node alias" column is blank, the "local" shows how much I have in the channel, 0.1 BTC, and the "remote" column is 0.
legendary
Activity: 2534
Merit: 6080
Self-proclaimed Genius
March 22, 2020, 11:16:54 PM
#23
That error is quite generic, it's hard to tell is issue.
It will also pop-up when you tried to send lightning payments if there's no opened channel,
'opening' or 'disconnected' channel status, poor connection, etc.

When you click on the lightning logo (beside the seed/connection icon), you'll see something like this:

How many channels and nodes do you see?
In the "Channels" tab, what does it say under "status" of the channel?
copper member
Activity: 2296
Merit: 4460
Join the world-leading crypto sportsbook NOW!
March 21, 2020, 10:15:32 PM
#22
Well after playing with this off and on for a few weeks now, I still can't get it to work.  Anyone else having trouble sending payments?  I have two testnet wallets set up, both have open channels, both are sync'd.  But I always get the same error.  Is there a setting I'm missing?

HCP
legendary
Activity: 2086
Merit: 4318
February 10, 2020, 04:19:50 AM
#21
I'm getting the same issue with names,
Just FYI, the file name "bug" is caused because the build-wine system uses:
Code:
VERSION=`git describe --tags --dirty --always`
to fetch the version number... and the git "tags" are currently returning 3.3.8 Tongue


Quote
...but I have not been able to confirm if I'm actually building 4.0.0a0.  Trying to run the portable version on my Win10 machine I get an error saying the file cannot be found. 
If you're building from the MASTER branch, it will be building 4.0.0a0... you can have a quick look in /electrum/version.py file and see what it says there...


Which file cannot be found? Huh


Quote
I tried running it right from the desktop, so I don't know how that's possible.  Do I need to install some python run environment something or other in Windows?
So you tried to compile the .exe? or you were running from a clone of the github repository using Python? Huh
copper member
Activity: 2296
Merit: 4460
Join the world-leading crypto sportsbook NOW!
February 06, 2020, 06:22:12 PM
#20
yeah... wrong wording on my behalf, I didn't mean checkout... I meant build... if I look in my "fresh clone" directory... cat electrum/version.py shows version 4.0.0.a0, but for some reason, when running the build.sh, it is only building 3.3.8 version??!? Huh

EDIT: disregard, it's just naming the output file incorrectly... it is in fact building the 4.0.0a0 version:


I transferred the "3.3.8" portable .exe file out of the Ubuntu VirtualBox and ran it on the Windows 10 host Wink

I'm getting the same issue with names, but I have not been able to confirm if I'm actually building 4.0.0a0.  Trying to run the portable version on my Win10 machine I get an error saying the file cannot be found.  I tried running it right from the desktop, so I don't know how that's possible.  Do I need to install some python run environment something or other in Windows?
legendary
Activity: 2030
Merit: 1568
CLEAN non GPL infringing code made in Rust lang
February 06, 2020, 03:48:34 PM
#19
This part isn't too hard, all you need to do is compile Python 3.6 from source then install it. Check this guide https://realpython.com/installing-python/#compiling-python-from-source

You also could add 3rd-party repository which serve newer version of Python, but i don't know how to do it on your linux distro.

Yeah, I'm following the same guide from here http://devopspy.com/python/install-python-3-6-ubuntu-lts/ with method 2.
but I'm stuck again with "$ sudo make -j8" and it seems the error is "full disk" I think I will need to increase the VirtualBox space. I thought that it won't download too many resources and packages but after I use the command above it eat so much space on Virtualbox space. Anyway, I'll update this again soon. Too bad I have slow internet connection.

Do you have any idea for another way to compile it for windows instead? I don't have much space on my laptop after I applied the last step installing python.

Since this is a virtualbox install, the solution is simpler than you think. Rather than "Linux Lite", you should install Lubuntu 19.10, which happens to come with Python 3.7.5

Why Lubuntu? Linux Lite IS Lubuntu with extra packages pre-installed. Contrary to what the name suggests, it isn't light. So you save space and time using Lubuntu rather than Lite.

In the earlier Ubuntus you can probably upgrade python also by adding a PPA, but this might be trickier than just wiping your image since its a virtual machine anyway. If you use the 32bit version, you can probably use 1g ram virtual machine just fine, maybe less if its just playing with Electrum.

Oh and that -j8 is the number of threads for the compiler, it depends on what cpu you have and if you want to use all of them (i don't think thats a good idea a vm, i never assign all my threads to a vm). So if you launched a VM with 2 threads (because your cpu has 4 cores), you shouldn't be using -j8 (it would just try use the 2 threads 4times). If in doubt omit the -j option its not needed.
legendary
Activity: 3374
Merit: 3095
BTC price road to $80k
January 30, 2020, 02:06:27 PM
#18
After resize the space from VirtualBox, AFAIK you need to configure the partition to use all free space.

P.S. compile from source will use 100% CPU and it took some time (about 30 minutes on old PC with 2 core)

default.

Yeah, done on resizing the virtual box using command prompt after that it shows something unallocated space and tried to restart the virtual box and the laptop(I thought the unallocated space will merge automatically) but after that my laptop shows bluescreen of death.

Something issue on both tcpip.sys and ntoskrnl.exe they randomly showing every time I restart.
Anyway, my laptop fixed just now using the "chkdsk /f /r". I'm not going to test it again with my laptop.

I think it's better to rent a Linux VPS/RDP to install and test the Electrum alpha version rather than using my slow laptop.

I transferred the "3.3.8" portable .exe file out of the Ubuntu VirtualBox and ran it on the Windows 10 host Wink

Can I have a copy of the portable one for Windows? I would love to test it on windows 7. Please Pm me the link thanks.



I got the portable one from HCP and it's working fine to me.

HCP
legendary
Activity: 2086
Merit: 4318
January 30, 2020, 05:35:03 AM
#17
yeah... wrong wording on my behalf, I didn't mean checkout... I meant build... if I look in my "fresh clone" directory... cat electrum/version.py shows version 4.0.0.a0, but for some reason, when running the build.sh, it is only building 3.3.8 version??!? Huh

EDIT: disregard, it's just naming the output file incorrectly... it is in fact building the 4.0.0a0 version:


I transferred the "3.3.8" portable .exe file out of the Ubuntu VirtualBox and ran it on the Windows 10 host Wink
legendary
Activity: 3514
Merit: 5123
https://merel.mobi => buy facemasks with BTC/LTC
January 30, 2020, 05:26:29 AM
#16
Now I just have to work out how to get it to checkout the 4.0.0a branch... which doesn't seem to exist any more Undecided

Code:
git checkout master
cat electrum/version.py

HCP
legendary
Activity: 2086
Merit: 4318
January 30, 2020, 05:12:29 AM
#15
Just FYI, today I installed a fresh copy of Ubuntu (18.04.3) into Oracle VirtualBox... then basically followed the instructions on the Electrum Github under Development Version step by step...

I literally copy/pasted the commands into the Ubuntu terminal window, with the only modification being that I used sudo -H python3 -m pip install .[fast] as when I originally tried it with just "python3 -m pip install .[fast]", it spat out a "permission denied" at the end.

NOTE: I also had to install git, python3-pip and curl (and possibly one or two other things that I've forgotten)... as I think I chose the "minimal" Ubuntu install.

Anyway, after I had Electrum cloned and "installed"... I then followed the instructions on the contrib/build-wine/README.md page... again, copy/pasting the commands as shown to install docker, build the image and then build the Windows binaries.

et voilà...



Now I just have to work out how to get it to build the 4.0.0a branch... which doesn't seem to exist any more Undecided

But oddly, when I run Electrum within the VirtualBox, it runs 4.0.0a??!? Huh

Pages:
Jump to: