Electrum-NMC

Forum rules
Warning !
Avoid using binary softwares from untrusted users.
Prefer compiling it yourself and verify sources.
Post Reply
kefkius
Posts: 4
Joined: Sat Feb 14, 2015 12:02 am
os: linux

Electrum-NMC

Post by kefkius » Sat Feb 21, 2015 6:19 am

Electrum-NMC is a Namecoin-compatible fork of Electrum.

So far it just sends and receives coins. I wanted to wait until I had implemented name operations but I'm posting so nobody is duplicating my efforts.

As of writing, there are no servers so you'll need electrum-nmc-server running on localhost for it to work. Sorry about that; I don't have anywhere to put a server but if somebody does, add your server to lib/network.py and make a pull request. :)

Electrum-NMC is alpha software. I intend to fully implement registering and managing names in the (hopefully very) near future. Also I haven't implemented the auxpow difficulty check so it just accepts headers from servers without checking their difficulty.
Creator of Encompass multi-coin lite wallet. Pretty much always reachable on freenode in #mazaclub.

biolizard89
Posts: 1977
Joined: Tue Jun 05, 2012 6:25 am
os: linux

Re: Electrum-NMC

Post by biolizard89 » Tue Feb 24, 2015 7:06 am

kefkius wrote:Electrum-NMC is a Namecoin-compatible fork of Electrum.

So far it just sends and receives coins. I wanted to wait until I had implemented name operations but I'm posting so nobody is duplicating my efforts.

As of writing, there are no servers so you'll need electrum-nmc-server running on localhost for it to work. Sorry about that; I don't have anywhere to put a server but if somebody does, add your server to lib/network.py and make a pull request. :)

Electrum-NMC is alpha software. I intend to fully implement registering and managing names in the (hopefully very) near future. Also I haven't implemented the auxpow difficulty check so it just accepts headers from servers without checking their difficulty.
Nice work! Good to see more Namecoin ports of Bitcoin wallets.
Jeremy Rand, Lead Namecoin Application Engineer
NameID: id/jeremy
DyName: Dynamic DNS update client for .bit domains.

Donations: BTC 1EcUWRa9H6ZuWPkF3BDj6k4k1vCgv41ab8 ; NMC NFqbaS7ReiQ9MBmsowwcDSmp4iDznjmEh5

biolizard89
Posts: 1977
Joined: Tue Jun 05, 2012 6:25 am
os: linux

Re: Electrum-NMC

Post by biolizard89 » Fri Mar 13, 2015 8:49 pm

kefkius wrote:Electrum-NMC is a Namecoin-compatible fork of Electrum.

So far it just sends and receives coins. I wanted to wait until I had implemented name operations but I'm posting so nobody is duplicating my efforts.

As of writing, there are no servers so you'll need electrum-nmc-server running on localhost for it to work. Sorry about that; I don't have anywhere to put a server but if somebody does, add your server to lib/network.py and make a pull request. :)

Electrum-NMC is alpha software. I intend to fully implement registering and managing names in the (hopefully very) near future. Also I haven't implemented the auxpow difficulty check so it just accepts headers from servers without checking their difficulty.
So, I'm unable to find any documentation of Electrum's security model. Since you're familiar with the code, any chance you could explain how it works? I'm under the impression that it's somewhat lighter and less secure than SPV -- is that correct? What procedure is used to verify that the server isn't lying?
Jeremy Rand, Lead Namecoin Application Engineer
NameID: id/jeremy
DyName: Dynamic DNS update client for .bit domains.

Donations: BTC 1EcUWRa9H6ZuWPkF3BDj6k4k1vCgv41ab8 ; NMC NFqbaS7ReiQ9MBmsowwcDSmp4iDznjmEh5

phelix
Posts: 1631
Joined: Thu Aug 18, 2011 6:59 am

Re: Electrum-NMC

Post by phelix » Mon Mar 16, 2015 11:49 am

biolizard89 wrote:
kefkius wrote:Electrum-NMC is a Namecoin-compatible fork of Electrum.

So far it just sends and receives coins. I wanted to wait until I had implemented name operations but I'm posting so nobody is duplicating my efforts.

As of writing, there are no servers so you'll need electrum-nmc-server running on localhost for it to work. Sorry about that; I don't have anywhere to put a server but if somebody does, add your server to lib/network.py and make a pull request. :)

Electrum-NMC is alpha software. I intend to fully implement registering and managing names in the (hopefully very) near future. Also I haven't implemented the auxpow difficulty check so it just accepts headers from servers without checking their difficulty.
So, I'm unable to find any documentation of Electrum's security model. Since you're familiar with the code, any chance you could explain how it works? I'm under the impression that it's somewhat lighter and less secure than SPV -- is that correct? What procedure is used to verify that the server isn't lying?
IIRC they started doing SPV at some point.
nx.bit - some namecoin stats
nf.bit - shortcut to this forum

kefkius
Posts: 4
Joined: Sat Feb 14, 2015 12:02 am
os: linux

Re: Electrum-NMC

Post by kefkius » Sun Mar 22, 2015 5:04 am

biolizard89 wrote:
kefkius wrote:Electrum-NMC is a Namecoin-compatible fork of Electrum.

So far it just sends and receives coins. I wanted to wait until I had implemented name operations but I'm posting so nobody is duplicating my efforts.

As of writing, there are no servers so you'll need electrum-nmc-server running on localhost for it to work. Sorry about that; I don't have anywhere to put a server but if somebody does, add your server to lib/network.py and make a pull request. :)

Electrum-NMC is alpha software. I intend to fully implement registering and managing names in the (hopefully very) near future. Also I haven't implemented the auxpow difficulty check so it just accepts headers from servers without checking their difficulty.
So, I'm unable to find any documentation of Electrum's security model. Since you're familiar with the code, any chance you could explain how it works? I'm under the impression that it's somewhat lighter and less secure than SPV -- is that correct? What procedure is used to verify that the server isn't lying?
Sorry for the late response.

Electrum (and Electrum-NMC) does SPV. However, the server can still give clients 'fake' blocks with 'fake' transactions and the SPV check would be fooled. Electrum's security relies pretty heavily on verifying that the difficulty of the blocks it's given are correct via the difficulty retarget algorithm.
Creator of Encompass multi-coin lite wallet. Pretty much always reachable on freenode in #mazaclub.

biolizard89
Posts: 1977
Joined: Tue Jun 05, 2012 6:25 am
os: linux

Re: Electrum-NMC

Post by biolizard89 » Sat Mar 28, 2015 11:00 pm

kefkius wrote:
biolizard89 wrote:
kefkius wrote:Electrum-NMC is a Namecoin-compatible fork of Electrum.

So far it just sends and receives coins. I wanted to wait until I had implemented name operations but I'm posting so nobody is duplicating my efforts.

As of writing, there are no servers so you'll need electrum-nmc-server running on localhost for it to work. Sorry about that; I don't have anywhere to put a server but if somebody does, add your server to lib/network.py and make a pull request. :)

Electrum-NMC is alpha software. I intend to fully implement registering and managing names in the (hopefully very) near future. Also I haven't implemented the auxpow difficulty check so it just accepts headers from servers without checking their difficulty.
So, I'm unable to find any documentation of Electrum's security model. Since you're familiar with the code, any chance you could explain how it works? I'm under the impression that it's somewhat lighter and less secure than SPV -- is that correct? What procedure is used to verify that the server isn't lying?
Sorry for the late response.

Electrum (and Electrum-NMC) does SPV. However, the server can still give clients 'fake' blocks with 'fake' transactions and the SPV check would be fooled. Electrum's security relies pretty heavily on verifying that the difficulty of the blocks it's given are correct via the difficulty retarget algorithm.
Thanks for that info. How does this compare to other SPV clients such as Multibit or Android Bitcoin Wallet?
Jeremy Rand, Lead Namecoin Application Engineer
NameID: id/jeremy
DyName: Dynamic DNS update client for .bit domains.

Donations: BTC 1EcUWRa9H6ZuWPkF3BDj6k4k1vCgv41ab8 ; NMC NFqbaS7ReiQ9MBmsowwcDSmp4iDznjmEh5

phelix
Posts: 1631
Joined: Thu Aug 18, 2011 6:59 am

Re: Electrum-NMC

Post by phelix » Thu May 21, 2015 12:14 pm

biolizard89 wrote:
kefkius wrote: Electrum (and Electrum-NMC) does SPV. However, the server can still give clients 'fake' blocks with 'fake' transactions and the SPV check would be fooled. Electrum's security relies pretty heavily on verifying that the difficulty of the blocks it's given are correct via the difficulty retarget algorithm.
Thanks for that info. How does this compare to other SPV clients such as Multibit or Android Bitcoin Wallet?
Is Electrum's SPV (thin-client) implementation not P2P (as opposed to Multibit's)? - turns out also Electrum's SPV is not P2P. Electrum does API server SPV whereas Multibit does P2P node SPV.

(cross post from Bounty Cornucopia)
nx.bit - some namecoin stats
nf.bit - shortcut to this forum

Post Reply