Bitcoin Forum
June 21, 2024, 08:37:10 AM *
News: Voting for pizza day contest
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1] 2 3 »
1  Bitcoin / Electrum / Re: Electrum 3.3.5 on a 32-bit Computer on: September 11, 2019, 06:10:06 AM
Thank you Abdussamad. Elecrtum is now working properly for me!
2  Bitcoin / Electrum / Re: Electrum 3.3.5 on a 32-bit Computer on: September 10, 2019, 03:35:28 AM
I agree that I should not be running Electrum as root, however at present that is the only way that I can get it to run.
Code:
~$ ls -lha ~/.electrum/
total 3.1M
drwxr-xr-x  6 root    root    4.0K Sep  9 08:57 .
drwxr-xr-x 22 richard richard 4.0K Sep 10 10:22 ..
-rw-r--r--  1 root    root     46M Sep  9 08:27 blockchain_headers
drwx------  2 root    root    4.0K Sep  9 08:25 cache
drwxr-xr-x  2 root    root    4.0K Sep  9 08:57 certs
-rw-------  1 root    root     364 Sep  9 08:28 config
-rw-r--r--  1 root    root      42 Sep  9 08:57 daemon
drwx------  2 root    root    4.0K Sep  9 08:25 forks
-rw-r--r--  1 root    root     495 Sep  9 08:57 recent_servers
drwxr-xr-x  2 root    root    4.0K Sep  9 08:28 wallets
I tried running the electrum.desktop from terminal. First I right-clicked on Electrum in my Start Menu and picked Properties. In the File Properties I set "Execute terminal emulator", "Keep terminal window open after execution" and selected OK. Back in Start Menu I clicked on Electrum. The terminal window opened, text appeared and then the terminal window immediately closed (no time to read).

I then opened terminal and cd to ~/.local/share/applications where File Properties says my target file electrum.desktop is. I then tried the following:
Code:
~/.local/share/applications$ elecrum.desktop
elecrum.desktop: command not found
~/.local/share/applications$ electrum
W | simple_config | Cannot read config file. /home/richard/.electrum/config
Traceback (most recent call last):
  File "/home/richard/.local/bin/electrum", line 355, in <module>
    fd, server = daemon.get_fd_or_server(config)
  File "/home/richard/.local/lib/python3.6/site-packages/electrum/daemon.py", line 77, in get_fd_or_server
    remove_lockfile(lockfile)
  File "/home/richard/.local/lib/python3.6/site-packages/electrum/daemon.py", line 58, in remove_lockfile
    os.unlink(lockfile)
PermissionError: [Errno 13] Permission denied: '/home/richard/.electrum/daemon'
3  Bitcoin / Electrum / Re: Electrum 3.3.8 on a 32-bit Computer on: September 09, 2019, 01:34:34 AM
I now want to install an app launch in my start menu. I did this by
Code:
cd ~/Electrum-3.3.5
sudo desktop-file-install electrum.desktop
This installed the app launcher in my menu://applications/Internet directory (although it was a hidden app so I had to unhide it).

For this app launcher the target file is "/home/richard/.local/share/applications/electrum.desktop" and the command is "electrum %u"

The only problem is that when I try to launch Electrum in my start menu nothing happens. Where have I gone wrong?
4  Bitcoin / Electrum / Re: Electrum 3.3.8 on a 32-bit Computer on: September 09, 2019, 01:02:09 AM
Thank you all for your guidance.

Yes, it was just an access problem. Using
Code:
sudo python3 ~/Electrum-3.3.5/run_electrum
it works.

I have also
Code:
sudo chmod 770 /home/richard/.electrum/daemon
This does not appear to change anything. I still need
Code:
sudo python3 ~/Electrum-3.3.5/run_electrum
to get Electrum to run.
5  Bitcoin / Electrum / [SOLVED] Electrum 3.3.5 on a 32-bit Computer on: September 07, 2019, 07:58:50 AM
After recently installing Lubuntu 18.04.3 LTS on my 32-bit computer, I have been trying to install Electrum 3.3.8 so far without success. My latest try consisted of
Code:
sudo apt-get update
sudo apt-get install python3-setuptools python3-pyqt5 python3-pip
wget https://download.electrum.org/3.3.5/Electrum-3.3.5.tar.gz
tar xvf Electrum-3.3.5.tar.gz
All appeared to work well (no error messages or warnings). I then tried to launch Electrum using Python.
Code:
python3 ~/Electrum-3.3.5/run_electrum
Traceback (most recent call last):
  File "/home/richard/Electrum-3.3.5/run_electrum", line 355, in <module>
    fd, server = daemon.get_fd_or_server(config)
  File "/home/richard/Electrum-3.3.5/electrum/daemon.py", line 77, in get_fd_or_server
    remove_lockfile(lockfile)
  File "/home/richard/Electrum-3.3.5/electrum/daemon.py", line 58, in remove_lockfile
    os.unlink(lockfile)
PermissionError: [Errno 13] Permission denied: '/home/richard/.electrum/daemon'
I was at loss on what to do. I then got thinking about whether Electrum 3.3.8 is able to operate on a 32-bit computer, so before I go any further, is Electrum 3.3.8 designed to operate on a 32-bit computer under Lubuntu 18.04?
6  Bitcoin / Electrum / Re: Upgrading to Electrum 3.3.6 on Ubuntu on: June 13, 2019, 12:21:19 AM
DAY 2

First I would like to thanks those who have given their time in trying to help me with this project. It is very much appreciated.

After yesterday, things where getting just too complicated for me. Today I have decided to try and get Electrum 3.3.6 working on my Lubuntu 16.04 desktop using the Appimage.

I have downloaded the Appimage and now have the folder Electrum-3.3.6 in my Home Folder. The Electrum-3.3.6 folder contains-

Folders:
     contrib
     electrum
     Electrum.egg-info
     PACKAGES

Files:
     AUTHORS
     Electrum Bitcoin Wallet
     LICENCE
     MANIFEST.in
     PKG-INFO
     README.rst
     RELEASE-NOTES
     run_electrum
     setup.cfg
     setup.py

I then double-click on the file Electrum Bitcoin Wallet. My hard disk works for about 20 seconds and then nothing.

Next was to double-click on the file run_electrum and then click on “Execute”. Hard disk works for about 5 seconds and then nothing.

Next was to double-click on the file run_electrum and then click on “Execute in Terminal”. The terminal window opens and text appears in the window. The window then closes before I can read the text.

How can I get Electrum 3.3.6 to work on my desktop?
7  Bitcoin / Electrum / Re: Upgrading to Electrum 3.3.6 on Ubuntu on: June 12, 2019, 12:02:07 PM
Code:
yes,
[code]python3 -m pip --version
gives the same error message.

I have downloaded the AppImage. I extracted and read the Readme file. Was still none the wiser on how to install it.

I then used
Code:
 wget https://bootstrap.pypa.io/get-pip.py
sudo python3 get-pip.py
as suggested. All looked good so I
Code:
python3 -m pip install --user Electrum-3.3.6.tar.gz[fast]
and got the following result
Code:
Running setup.py install for psutil ... error
    ERROR: Complete output from command /usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-zbg0e535/psutil/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-ova3ijcd/install-record.txt --single-version-externally-managed --compile --user --prefix=:
    ERROR: /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'python_requires'
      warnings.warn(msg)
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-i686-3.6
    creating build/lib.linux-i686-3.6/psutil
    copying psutil/_psposix.py -> build/lib.linux-i686-3.6/psutil
    copying psutil/_pslinux.py -> build/lib.linux-i686-3.6/psutil
    copying psutil/_pssunos.py -> build/lib.linux-i686-3.6/psutil
    copying psutil/_psaix.py -> build/lib.linux-i686-3.6/psutil
    copying psutil/_common.py -> build/lib.linux-i686-3.6/psutil
    copying psutil/__init__.py -> build/lib.linux-i686-3.6/psutil
    copying psutil/_compat.py -> build/lib.linux-i686-3.6/psutil
    copying psutil/_psosx.py -> build/lib.linux-i686-3.6/psutil
    copying psutil/_pswindows.py -> build/lib.linux-i686-3.6/psutil
    copying psutil/_psbsd.py -> build/lib.linux-i686-3.6/psutil
    creating build/lib.linux-i686-3.6/psutil/tests
    copying psutil/tests/test_aix.py -> build/lib.linux-i686-3.6/psutil/tests
    copying psutil/tests/test_sunos.py -> build/lib.linux-i686-3.6/psutil/tests
    copying psutil/tests/test_unicode.py -> build/lib.linux-i686-3.6/psutil/tests
    copying psutil/tests/test_osx.py -> build/lib.linux-i686-3.6/psutil/tests
    copying psutil/tests/runner.py -> build/lib.linux-i686-3.6/psutil/tests
    copying psutil/tests/test_bsd.py -> build/lib.linux-i686-3.6/psutil/tests
    copying psutil/tests/test_memory_leaks.py -> build/lib.linux-i686-3.6/psutil/tests
    copying psutil/tests/test_connections.py -> build/lib.linux-i686-3.6/psutil/tests
    copying psutil/tests/test_posix.py -> build/lib.linux-i686-3.6/psutil/tests
    copying psutil/tests/__init__.py -> build/lib.linux-i686-3.6/psutil/tests
    copying psutil/tests/test_windows.py -> build/lib.linux-i686-3.6/psutil/tests
    copying psutil/tests/test_process.py -> build/lib.linux-i686-3.6/psutil/tests
    copying psutil/tests/test_misc.py -> build/lib.linux-i686-3.6/psutil/tests
    copying psutil/tests/test_contracts.py -> build/lib.linux-i686-3.6/psutil/tests
    copying psutil/tests/test_linux.py -> build/lib.linux-i686-3.6/psutil/tests
    copying psutil/tests/test_system.py -> build/lib.linux-i686-3.6/psutil/tests
    copying psutil/tests/__main__.py -> build/lib.linux-i686-3.6/psutil/tests
    running build_ext
    building 'psutil._psutil_linux' extension
    creating build/temp.linux-i686-3.6
    creating build/temp.linux-i686-3.6/psutil
    i686-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_VERSION=563 -DPSUTIL_LINUX=1 -I/usr/include/python3.6m -c psutil/_psutil_common.c -o build/temp.linux-i686-3.6/psutil/_psutil_common.o
    psutil/_psutil_common.c:9:20: fatal error: Python.h: No such file or directory
    compilation terminated.
    error: command 'i686-linux-gnu-gcc' failed with exit status 1
    ----------------------------------------
ERROR: Command "/usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-zbg0e535/psutil/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-ova3ijcd/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-install-zbg0e535/psutil/

I would now like to try using AppImag to upgrade my Electrum. How do I do this from the extracted files?[/code]
8  Bitcoin / Electrum / Re: Upgrading to Electrum 3.3.6 on Ubuntu on: June 12, 2019, 04:43:11 AM
Thank you pooya87. I got all that done.
Code:
python3 --version
Python 3.6.8
Then I got
Code:
python3 -m pip install --user Electrum-3.3.6.tar.gz[fast]
/usr/bin/python3: No module named pip
so I
Code:
sudo apt-get update && sudo apt-get -y upgrade
sudo apt-get install python-pip
To check my pip install, I
Code:
pip --version
Traceback (most recent call last):
  File "/home/richard/.local/bin/pip", line 7, in <module>
    from pip._internal import main
ImportError: No module named _internal
This was not what I expected and I still get
Code:
python3 -m pip install --user Electrum-3.3.6.tar.gz[fast]
/usr/bin/python3: No module named pip
Any further assistance would be much appreciated.
9  Bitcoin / Electrum / Upgrading to Electrum 3.3.6 on Ubuntu on: June 12, 2019, 03:15:16 AM
OS = LUbuntu 16.04.6
Currently installed Electrum 3.1.2

I am trying to upgrade to Electrum 3.3.6. I take the following steps:

   
Code:
 sudo apt-get install python3-pyqt5
     wget https://download.electrum.org/3.3.6/Electrum-3.3.6.tar.gz
     sudo apt-get install python3-setuptools python3-pip

All works well, then I:

   
Code:
 python3 -m pip install --user Electrum-3.3.6.tar.gz[fast] 

and get the following:

Code:
     Processing ./Electrum-3.3.6.tar.gz
         ERROR: Complete output from command python setup.py egg_info:
         ERROR: Error: Electrum requires Python version >= 3.6.1...
         ----------------------------------------
     ERROR: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-req-build-ixoym5m6/

I have tried this multiple time with the same results.

How can I upgrade my Electrum 3.1.2 to 3.3.6?
10  Bitcoin / Electrum / Re: No Preferences in 2.7.15 on: January 16, 2017, 01:38:37 AM
Thanks to longbob72, deleting the congfig file solved the preferences problem, however I then lostmy the PHP fiat display.

Thanks to kolloh, upgrading to 2.7.17 also fixed the preferences problem, but again still no PHP fiat display available. I guest I will just have to live with the no PHP fiat display until that is included again from Bitcoinaverage.
11  Bitcoin / Electrum / No Preferences in 2.7.15 on: January 13, 2017, 06:00:02 AM
I recently upgraded my Electrum program to v 2.7.15 (Windows Standalone Executable). Ever since upgrading, I have not been able to access "Preferences".

I click Tools>Preferences and nothing happens. I click on the Preferences button (bottom right) and nothing happens.

Have we lost the use of preferences in 2.7.15?
12  Bitcoin / Bitcoin Discussion / Re: Double Spending - How To? on: October 04, 2015, 12:28:21 AM
Well look, there is a risk everywhere. I think that the credit card chargeback rate is about 20-25% and merchants take this risk on themselves. But you are also using a logic that person that paid $3 for a cup of coffee won't be doing a chargeback. It's not worth a risk.

We can use the same logic about the Bitcoin double spend. But if you are looking for a 100% solution, I guess that Bitcoin is not ready for paying a coffee like Ciyam has said above. Honestly I am not sure that this will be ever necessary in order for Bitcoin to succeed.

Mickeyb, you are thinking "western" here. The Philippines is not western. It is an under-developed third-world country. Less than 20% of adults (those 18yo and over) have a bank account. Less than 5% of all shop purchases are made with a credit/debit card.

Yes, a cup of coffee costs about USD2 to USD3 in the Philippines, but that is almost half a day's salary for most workers. A graduate engineer in the Philippines earns about USD15 per day. A shop salesperson earns about USD6.50 per 10 hour day.
13  Bitcoin / Bitcoin Discussion / Re: Double Spending - How To? on: October 02, 2015, 11:11:33 PM
I hope my merchant doesn't see this topic. I can guess his response, "It looks to difficult and risky, I'll stick with cash only".

I have a meeting with his later next week.
14  Bitcoin / Bitcoin Discussion / Re: Double Spending - How To? on: October 02, 2015, 12:06:05 AM
The merchant, in this case, is hoping to just use an Android smartphone/tablet with say the Bitcoin Wallet ap installed to accept bitcoin payments. At the end of the day (or week) the merchant would use a Philippines bitcoin exchange to convert the received bitcoin into PHP and have it deposited directly into his bank account.

Initially, bitcoin sales are likely to be only one or two a month so capital outlay has to be kept very low. I can not see him investing even one centavo in anything more complicated.

From the replies that I have received in this thread, it looks like my response to the merchant's "double spend" concerns will be:

Quote
There is a very slight risk of a double spend, however you have a greater risk of one of your staff giving free food/coffee to their friend than you have of experiencing a double spend.

A double spend generally requires a customer to spend the exact same amount of bitcoin again within about 10 minutes of the first transaction and that second transaction must be confirmed on the blockchain ledger before the first transaction. None of this is easy to do in the current environment.

I need to keep my response fairly simple. Would this response be reasonable?
15  Bitcoin / Bitcoin Technical Support / Re: Restriced Network Access to Bitcoin Only on: October 01, 2015, 12:22:33 PM
I did a quick read up on mobile internet in the Philippines. Is the 3G connection that bad at the shop that you need to use WiFi? I suspect that this is reason the question came up in the first place, but I thought I make sure regardless. In most of Europe as well as north America most people would probably assume that customers have a 3G/4G data plan if they pay with bitcoin and dont bother at all.

More towards the actual topic, I would not try to block all but bitcoin on the port layer, but go to the application layer (7). If you have a router that can be run with open firmware solutions like tomato or OpenWRT it should be possible to create a bitcoin only WiFi. This might get tricky to setup though as I doubt there are ready to use filters like there are for other p2p traffic like torrents.

Maybe you can find a "good enough" solution by blocking HTTP(S) and mail as well as other commonly used services that generate a lot of traffic without actually having an airtight solution.

Shorena, 3G connection is readily available in the Philippines. The problem is the cost (hence the offer of free WiFi in the shop). Minimum connection fee to 3G can cost you PHP10 for 30 minutes minimum when the average salary is about PHP300 for a 10 hour day. Your internet connection using a smartphone can cost you almost as much per minute as you can earn per minute!
16  Bitcoin / Bitcoin Discussion / Re: Double Spending - How To? on: October 01, 2015, 12:14:31 PM
Thank you all who have replied.

As I said previously, an average sale could be a day's pay for an average (Filipino) worker. Not an insignificant amount. The shop employee handling the transaction would have just a basic (Filipino) high school education. This would mean that he/she can do no more than follow basic instructions - if your lucky.

Neither the sales person or the customer are going to wait for even the first confirmation. The merchant (shop) cannot set or easily check the transaction fee. Let's assume that the customer makes the purchase with zero transaction fee. (I know, Bitcoin Wallet does not allow this.)

So, the customer walks in, buys a coffee and food (take-out) with bitcoin zero transaction fee, then leaves the shop. How does this customer "double spend" his/her bitcoin?

What is "another spend that uses the same inputs"?
17  Bitcoin / Bitcoin Discussion / Re: Double Spending - How To? on: October 01, 2015, 08:12:16 AM
Double spending doesn't work as you need more than 2 confs for the btc to be credited in any shop, at any rate are you asking how to scam?

I am definitely not asking "how to scam". Knowing how it could be done gives one knowledge on how to minimise the risk if handing over goods before any confirmations are received.

The reason I am asking is because a coffee shop owner I am helping (gratis) to set up a system for accepting bitcoin as payment has asked me this. He is concerned that a bitcoin paying customer may "double spend" if he passes over goods before he has received at least one confirmation.

He does not want to have to keep the customer waiting until he has received at least one confirmation. An average sale would be less than USD10 but this is in a country where his shop staff get paid that for a full day's work.

18  Bitcoin / Bitcoin Discussion / Double Spending - How To? on: October 01, 2015, 08:00:36 AM
To keep this simple, let's assume I am using a wallet like Bitcoin Wallet by Bitcoin Wallet developers on an Android smartphone. I go into a coffee shop and buy using my bitcoin wallet. I understand that it is going to take about 5 to 10 minutes before the transaction is first registered on the Blockchain.

How can I then "double spend" my bitcoin?
19  Bitcoin / Bitcoin Technical Support / Re: Restriced Network Access to Bitcoin Only on: October 01, 2015, 07:48:24 AM
[...] The shop already has free WiFi available to its customers. [...]
It is not convenient to have every customer who wishes to pay with bitcoin to sign in to the shop's WiFi network. [...]

Out of curiosity, why not? Bitcoin users should realise that they need internet to pay in bitcoin*. If they don't have their own data plan and the shop provides free wifi to customers (which the people with paying bitcoin are too) anyway, how is it not convenient?

Joining an open network is a security / privacy concern.


* There are some wallet solutions that allow a tx to be transferred via bluetooth or NFC, but it obviously depends on the wallet in use.
Newar, you have a valid point. Most paying with bitcoin will probably also want to also use the free WiFi (with password) in the shop.

They still only have to enter the password once. That would cover their bitcoin transaction and later use of the shop's WiFi. I will run this past the shop owner. It he doesn't like it, we will look at restricting access through a second open AP.
20  Bitcoin / Bitcoin Technical Support / Restriced Network Access to Bitcoin Only on: September 28, 2015, 12:26:04 AM
I am helping a small retailer (food/coffee cafe) in Lapu Lapu City, Cebu to start accepting bitcoin payments in his shop. To the best of our knowledge, this will be the first retail store in the city to accept bitcoin.

The shop already has free WiFi available to its customers. Due to the relatively high cost of internet access here, the free WiFi access is secured by password that is changed daily.

It is not convenient to have every customer who wishes to pay with bitcoin to sign in to the shop's WiFi network. The shop's router has provision for enabling a second network to be established that can be open (no password required for access) and restricting access to a specific (or range of) IP address, port and/or protocol (TPC, UDP, ICPM, or All).

Is there a way to limit a customer's use of this open network to bitcoin transactions only?
Pages: [1] 2 3 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!