Search content
Sort by

Showing 20 of 177 results by alomar
Post
Topic
Board Hardware wallets
Re: Trezor Password Manager Deprecation!
by
alomar
on 28/01/2023, 20:38:42 UTC
this sucks
Post
Topic
Board Electrum
Re: ElectrumX install trouble
by
alomar
on 16/01/2020, 16:29:26 UTC
is the  "DB_DIRECTORY = /home/user/.electrumx" automatically generated upon activation of the server?  i don't see a *.electrumx file having been created.


can anyone see a problem here in my two config files?

here's my electrumx.conf:

Code:

# default /etc/electrumx.conf for systemd

# REQUIRED
USERNAME = user
DB_DIRECTORY = /home/user/.electrumx
# Bitcoin Node RPC Credentials
DAEMON_URL = http://x:x@127.0.0.1:8332/
COIN = BitcoinCash
# See http://electrumx.readthedocs.io/en/latest/environment.html for
# information about other configuration settings you probably want to consider.
DB_ENGINE=leveldb
BANNER_FILE=/etc/electrumx/banner.txt


and service file:

Code:
[Unit]
Description=Electrumx
After=network.target
[Service]
EnvironmentFile=/etc/electrumx.conf
ExecStart=/usr/local/bin/electrumx_server
User=user
LimitNOFILE=8192
TimeoutStopSec=30min
[Install]
WantedBy=multi-user.target
Post
Topic
Board Electrum
Re: ElectrumX install trouble
by
alomar
on 14/01/2020, 17:19:55 UTC
anyone have a sample electrumx.conf file for a node and NOT a server?
Are you looking for this?- https://github.com/kyuupichan/electrumx/blob/master/contrib/systemd/electrumx.conf

ah, interesting.  what user:password does one use for the daemon URL?

well, using rpcuser and rpcpassword seems to have started the electrumx.service Smiley

strange that i don't see it running using "top" but do see it running in my ubuntu System Monitor.  is that b/c it's running inside systemd?

how do i know when it's "finished" indexing?
Post
Topic
Board Electrum
Re: ElectrumX install trouble
by
alomar
on 14/01/2020, 15:38:19 UTC
anyone have a sample electrumx.conf file for a node and NOT a server?
Are you looking for this?- https://github.com/kyuupichan/electrumx/blob/master/contrib/systemd/electrumx.conf

ah, interesting.  what user:password does one use for the daemon URL?
Post
Topic
Board Electrum
Re: ElectrumX install trouble
by
alomar
on 14/01/2020, 02:19:21 UTC
anyone have a sample electrumx.conf file for a node and NOT a server?
Post
Topic
Board Electrum
Re: Electrum Personal Server 0.2.0 Released
by
alomar
on 05/01/2020, 16:32:20 UTC
try:
Code:
which bitcoind
Code:
echo $PATH

You'll probably find that it's picking up the bitcoind from /usr/local/bin instead of running the "bitcoind" in the local directory. If you want to override the "path"... use ./ notation to indicate you wish to run from the local dir (or provide the full path to the executable)...

For instance, from your "~/Downloads/bitcoin-sv-1.0.0.beta/src" directory
Code:
./bitcoind

or, from anywhere
Code:
~/Downloads/bitcoin-sv-1.0.0.beta/src/bitcoind

Assuming there is actually a "bitcoind" in your "~/Downloads/bitcoin-sv-1.0.0.beta/src/" directory

running ./bitcoind in that directory does start a service in top called bitcoin-main (i'm sure related to SV); but it automatically shuts off for some reason even though Core is not running.  any ideas?
Post
Topic
Board Electrum
Re: Electrum Personal Server 0.2.0 Released
by
alomar
on 03/01/2020, 17:49:56 UTC
Not as far as I'm aware... BTC, BCH and BSV should all be using different datadirs...

It's possible that the ABC node is still being stupid and attempting to hijack existing BTC datadirs, like it did when the fork first happened... But as far as I'm aware, they stopped doing that.

I've successfully run BTC, BCH, BTG and other full nodes on the same machine at the same time.

hmm, note that Core opens instead:

Code:
user@user:~/Downloads/bitcoin-sv-1.0.0.beta/src$ bitcoind
Bitcoin Core starting
Post
Topic
Board Electrum
Re: Electrum Personal Server 0.2.0 Released
by
alomar
on 02/01/2020, 16:04:51 UTC
Is it possible to run electrumX, electron cash, electrum SV, with BCH and BSV on the same OS as one running Bitcoin Core, electrum, and eps?
I know you can run "Electrum", "Electron Cash" and "Electrum SV" at the same time... they all use different data directories and wallets. In addition, you can run Bitcoin Core alongside all of these without issue.

The problem you'll have is trying to use "Electron Cash" and "Electrum SV" with your own local "EPS", as I believe that "EPS" is only designed to work with Bitcoin Core and BTC... it will not work properly with forks like BCH and BSV.

"ElectrumX" however does support forks... and quite a lot of them... so you could theoretically run ElectrumX against a BCH or BSV full node client and then connect to it with "Electron Cash" or "Electrum SV". You would need a separate instance of "ElectrumX" for each coin/fork that you wanted to access.

So, something like this:

ElectrumX #1 -> Bitcoin Core
ElectrumX #2 -> Bitcoin ABC (or whatever the bch full node is called these days)
ElectrumX #3 -> BitcoinSV Core

You could then use:

Electrum -> ElectrumX #1
ElectronCash -> ElectrumX #2
ElectrumSV -> ElectrumX #3

thanks.  that's a helpful framework.  but how would you run BCH/BSV full nodes in the presence of a BTC full node?  their -datadir directories overlap, do they not?  isn't there also intersection in commands, like ./bitcoind or ./bitcoin-qt, etc?
Post
Topic
Board Electrum
Re: Electrum Personal Server 0.2.0 Released
by
alomar
on 31/12/2019, 23:51:26 UTC
does eps work with BCH or BSV?
You should read https://github.com/chris-belcher/electrum-personal-server#how-to
Quote
download and install Bitcoin Core version 0.17 or higher
It means you have to use Bitcoin Blockchain. So it doesn't work for BCH and BSV.

is it possible to run electrumX, electron cash, electrum SV, with BCH and BSV on the same OS as one running Bitcoin Core, electrum, and eps?
Post
Topic
Board Electrum
Re: Electrum Personal Server 0.2.0 Released
by
alomar
on 31/12/2019, 22:45:26 UTC
does eps work with BCH or BSV?
Post
Topic
Board Electrum
Re: Electrum Personal Server 0.2.0 Released
by
alomar
on 24/12/2019, 01:04:50 UTC
https://github.com/chris-belcher/electrum-personal-server/releases/tag/eps-v0.2.0

Released notes:
Quote
# Release v0.2.0 (5th December 2019)

New release, thanks to code contributions by suvayu, andrewtoth and Sosthene00
And thanks to everyone else who contributed via discussion and donations

* Implemented tor broadcasting of transactions, which happens by default if tor
  is running on the same machine.
* Also check that the last address of each master public key has been imported,
  along with the first three.
* Add bandwidth usage per day and blockchain size to the server banner
* Support using `vsize` instead of `size` for the mempool calculation, which is
  the correct behaviour for Bitcoin Core 0.19
* Allow rescan date to also be passed via CLI args. Wait for any rescanning to
  finish on startup. This allows Electrum Personal Server to be more easily
  used with scripting.
* Various other bugfixes

https://github.com/chris-belcher/electrum-personal-server/blob/master/release-notes

user@user~/Downloads$ gpg --verify eps-v0.2.0.tar.gz.asc electrum-personal-server-windows-release-v0.2.0.zip.asc
gpg: Signature made Thu 05 Dec 2019 01:51:58 AM PST
gpg:                using RSA key 0xEF734EA677F31129
gpg: BAD signature from "Chris Belcher <false@email.com>" [unknown]
Post
Topic
Board Electrum
Re: ElectrumX install trouble
by
alomar
on 28/11/2019, 19:14:56 UTC
user@user:~/src/electrumx$ :file:`setup.py`

That's a wrong command. Assuming you have installed python, run python3 setup.py install . You might need to use sudo if it refuses to install due to no permissions.

thanks.  that did it (not a python user).  now let's see if i can finish the rest.
Post
Topic
Board Electrum
Topic OP
ElectrumX install trouble
by
alomar
on 28/11/2019, 19:04:59 UTC
getting this.  any suggestions?:

Code:
user@user:~/src/electrumx$ :file:`setup.py`
setup.py: command not found
:file:: command not found


Post
Topic
Board Electrum
Re: Electrum Server
by
alomar
on 27/11/2019, 01:34:32 UTC
so do we know how many servers Electrum pulls balances from in Auto mode?  will it sometimes just pull from one?
I may be wrong, but I always though you only connected to a single server at once? Like, you can use multiple servers in a short period of time (e.g every time you restart Electrum it can choose a different server), but since in the server list window it only shows a single connected server and there isn't even space for a multi listing, I believe you don't connect to multiple servers at once.

ok, so this is interesting.  i decided to look:





i'm connected to 7 different nodes at once.  did i get my addy balances from all 7 and in what proportion?  or did i just get them from electrum2.hodlister.co?
Post
Topic
Board Electrum
Re: Electrum Server
by
alomar
on 27/11/2019, 01:07:09 UTC
edit:  seems to me one should avoid setting the network server to a specific Electrum node but instead leave it on automatic to hopefully connect to multiple servers for your addy balances (assuming you aren't going to use a personal server or want to use a VPN instead).
Correct... generally the best course of action would be to leave it on "Auto"... and simply use a VPN to hide your IP if that is your sole concern (and you're not wanting to run a personal server etc).

so do we know how many servers Electrum pulls balances from in Auto mode?  will it sometimes just pull from one?

can one run an ElectrumX server with Bitcoin Core in prune mode?
Post
Topic
Board Electrum
Re: Electrum Server
by
alomar
on 22/11/2019, 17:37:33 UTC
If you're just trying to obscure your IP... your options are TOR (or some other VPN). Although, running via VPNs has been the cause of issues for folks in the past. Mostly the inability to connect to servers and/or sync.

More info here: https://electrum.readthedocs.io/en/latest/tor.html

i just read your link and it says this, which is confusing in the sense that this entire discussion is premised on the idea that Electrum is connecting to ONE potentially malicious server.  which is it?:

This is because normally Electrum connects to a few different servers and downloads block headers and checks that they match. This prevents / makes it more difficult for Rogue servers to send you bad information.


edit:  seems to me one should avoid setting the network server to a specific Electrum node but instead leave it on automatic to hopefully connect to multiple servers for your addy balances (assuming you aren't going to use a personal server or want to use a VPN instead).
Post
Topic
Board Electrum
Re: Electrum Server
by
alomar
on 21/11/2019, 16:56:44 UTC
how does the Electrum node aggregate your addresses to your particular wallet?  is it b/c your specific request for your addy's are bundled or linked to a specific session?
AFAIK your wallet sends the addresses it wants to know the balance/transaction to the node (server), the node figures out this info and sends the balance and transactions data back to you. Your wallet (client) is the one that initially knows the addresses, which are originated from the wallet seed.

Was that your question? (I may have misinterpreted it).

i guess it was a stupid question.  you send it a list of addy's you want from your specific IP (hidden or not) and then the server gathers them up and has to send the info back to your IP.  thus, you wallet addy's are aggregated with total balance known.  Angry

i still don't get the idea of running a personal Electrum server when you have to run a full node right beside it.  is it b/c of the enhanced functionality?  with Andrew Chow's HWI, my guess that Electrum's advantages are becoming much less of a distinction now?
Post
Topic
Board Electrum
Re: Electrum Server
by
alomar
on 21/11/2019, 16:36:50 UTC
would running Electrum behind a VPN be sufficient to obscure my IP address?
Yes, but only your IP. The server stills gets a list of your addresses (which could be bad for privacy).

Electrum is a convenience that obviously costs a bit of privacy. If you want full privacy, then running a full node is probably the answer.

how does the Electrum node aggregate your addresses to your particular wallet?  is it b/c your specific request for your addy's are bundled or linked to a specific session?
Post
Topic
Board Electrum
Re: Electrum Server
by
alomar
on 21/11/2019, 16:18:20 UTC
Electrum nodes (aka servers) can not compromise your security.

I know it's unlikely, but servers get our real IP (if we don't hide it), and the person who owns the server can determine our location (country) by IP address. Although small, there is a possibility that someone could reach the real owner through an IP address, by hacking ISP or with inside job (a corrupt employee inside ISP). Of course, this would only make sense if some Electrum wallet user has a large amount of BTC, and in this way could become a victim of robbery or attempts of social engineering.


If the privacy is your major concern then  you  have an option to run an Electrum personal server and benefit from its use. The only cons of such approach, as I see it, is the necessity to run in background a fully synced  bitcoind. That demon  is naturally going to  consume a lot of  space for blockchain storage which means  you need the disk (preferably SSD) with big capacity, .

this need to run a full Bitcoin node makes no sense to me.  the whole purpose of an lightweight client like Electrum was to avoid this.

would running Electrum behind a VPN be sufficient to obscure my IP address?
Post
Topic
Board Armory
Re: Armory 0.96.4 release
by
alomar
on 01/08/2018, 03:57:42 UTC
This is a local thing, your own node is rejecting the tx. Fee logic is quite complicated actually, the age the utxo and the spent value in relation to the tx size as well as a min flat fee per tx all come into play. Lowering the minimum broadcast requirements below default for your node will allow you to push that tx to your node's mempool, but chances are it won't broadcast at all to the network.

These are the 2 settings you can mess with for Core:

Code:
minrelaytxfee
limitfreerelay

ok, here's a great example of the poor fee estimator from the node.  as i showed you from the screenshot above, the error window from Armory was saying the minrelaytxfee was supposed to be 200 sat/b.  to get around with having to fiddle with changing my bitcoind minrelaytxfee or limitfreerelay i decided  to tack another low fee of 1.3 sat/b instead and broadcast the raw hex thru a block explorer.  sure enough, i got a confirm in <10m.