namecoin / meta

General-Purpose Namecoin Repository
4 stars 3 forks source link

P2P Namecoin SPV Client [$131] #27

Closed JeremyRand closed 6 years ago

JeremyRand commented 8 years ago

This issue can be closed by releasing an SPV client for the Namecoin network that is capable of making P2P Namecoin connections (i.e. not a server/client model). The client does not need to support name operations, but it does need to expose an API which something like NMControl could connect to without too much difficulty.

Note that the underlying codebase is an important decision, and should be made by the community. Please talk to us before you begin on this issue, to make sure that you're doing it in a way that can close the issue to our satisfaction.

--- There is a **[$131 open bounty](https://www.bountysource.com/issues/26769339-p2p-namecoin-spv-client?utm_campaign=plugin&utm_content=tracker%2F6562918&utm_medium=issues&utm_source=github)** on this issue. Add to the bounty at [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F6562918&utm_medium=issues&utm_source=github).
shawnpringle commented 7 years ago

This has already been done. See coinomi android wallet.

JeremyRand commented 7 years ago

Shawn Pringle:

This has already been done. See coinomi android wallet.

Since when is Coinomi P2P? Last I checked they're using an Electrum server.

shawnpringle commented 7 years ago

So, are there electrum servers for namecoin? Can we use them as dns servers for the bit TLD?

JeremyRand commented 7 years ago

Shawn Pringle:

So, are there electrum servers for namecoin? Can we use them as dns servers for the bit TLD?

There are several existing independent attempts to port Electrum server to Namecoin. None of them meet our security standards, nor do they support name operations properly.

If anyone would like to fund some development work in this area, I'm pretty sure that we could get an Electrum server and client ported in a way that's reasonably secure and could be used for name lookups.

Cheers.

shawnpringle commented 7 years ago

https://www.cryptocompare.com/wallets/coinomi/ According to Crypto Compare Coinomi uses SPV validation. That closes this issue as far as I know.

JeremyRand commented 7 years ago

Shawn Pringle:

https://www.cryptocompare.com/wallets/coinomi/ According to Crypto Compare Coinomi uses SPV validation. That closes this issue as far as I know.

Last I checked Coinomi is using a single Namecoin Electrum server run by Coinomi, which doesn't support AuxPoW. That's not SPV, and is also not P2P.

JeremyRand commented 7 years ago

Noting for the record that libdohj is a candidate for closing this issue, pending a Namecoin developer other than me testing it.

shawnpringle commented 7 years ago

Go ahead. My understanding or misunderstanding come from statements on the web. I had never read Coinomi relied on a special server. I suppose one of you inspected the source, didn't you?

Shawn

On Nov 1, 2016 3:34 PM, "JeremyRand" notifications@github.com wrote:

Noting for the record that libdohj is a candidate for closing this issue, pending a Namecoin developer other than me testing it.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/namecoin/meta/issues/27#issuecomment-257654009, or mute the thread https://github.com/notifications/unsubscribe-auth/AClXdUoIsnARCGQUtWHC7cWyNXCWyH0Qks5q54ZEgaJpZM4F_f5R .

JeremyRand commented 7 years ago

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512

Shawn Pringle:

Go ahead. My understanding or misunderstanding come from statements on the web. I had never read Coinomi relied on a special server. I suppose one of you inspected the source, didn't you?

I'm not certain whether you're referring to the Coinomi or libdohj source? I looked at the Coinomi source code a while ago when I was evaluating it. That was a few months ago, so it's possible that something has changed recently.

FWIW, Bitcoin.org states the following about Coinomi:

This wallet relies on a centralized service by default. This means a third party must be trusted to not hide or simulate payments.

This wallet uses central servers which are able to associate your payments together and log your IP address.

So, if Coinomi has adopted either SPV validation or P2P networking, it's a sufficiently new development that Bitcoin.org hasn't noticed yet.

Regarding libdohj, we're looking for some people to test it out. You can find a beta release of the libdohj name lookup client here:

https://namecoin.org/download/betas/#lightweight-spv-bitcoinj-name-looku p-client

Cheers. -----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJYIC1MAAoJELPy0WV4bWVwKEcQAMg+j4xneSuyy8vLyW/o/hFg 9ooz4PMMnAbLsWXLgWwOA+1P67aJm3ZtTduw+SkWx/rIMngh44TKNTfXyyoysIBC SX3JiErs9IxP1apRK+1ll5DuDO/aK6CiOx109eZiA8/an8hE9jEQPY1pGZf//B+2 tKJ2RlXOJXpzY9H8g1u1XZE1B1eYynh9aAbpWJe75ORjl2HhIiS2X3x3xRvYX0GU AplAM+esCpYN7rLbhwwHUpH+F+WxLOkeXoxzSpvYYD+oGdEm4O3KiaIfqSTi1+2O el558ndgBL0IgqQgP0FAuTALAeu0EWZntnnnBYWMk2F1TZahRiblJD3nlG1JPcIQ k6ej8i9emJKEO7OPcKyD8eAfkhHmPN1v7/5Is5OgxQ0h+vxgyOWaY+SGYjCyKFfH SneDnCstKxcGwrer7alT1s3pCqnztsXQBcONKOQanI7n5+c9VzeVGGTs8BaH2OH9 tTSeRDqCRUWBH3DHE9rcWRaqJVLAdp9+bfbMWsjUNPdEnlYcJyrgW7Q6d+0VOVc6 9bSN8t+VxHNcN5nhSLnM04j6NwcEYsOcHLVEYUBKO3Ob5W7eGCdsxyavMfbXwCtN UmVvr5jQnOcnP6vqQwJ+2bJfIL8YLob3/h/Asm72TrrayuWOF5jJMxfjSM3mCYGp Xew/6EYd2uxPmBaPzIEh =lLaH -----END PGP SIGNATURE-----

JeremyRand commented 6 years ago

libdohj-namecoin and my consensusj fork have met the terms for closing this issue as fixed.

JeremyRand commented 6 years ago

Also noting for the record that Coinomi is not free software, which further disqualifies it from satisfying this issue.