Your solution looks over complicated and don't allow : - a simple user to configure their address on their own domain without installing all the required stuffs. - using any url and domain names Mine is best, of course ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
To bitcoin, this type of transaction appears to be a low priority, spam transaction. Sending tiny amounts of bitcoins to yourself is a waste of network resources -- remember, you are asking every bitcoin node, all over the world, to validate and store your transaction.
There's no fee penality to send to self. But there is for small amounts & recent transactions. No, its not error or bug. Gavin mentioned it in first post itself. You can send coins less than 0.01, but you have to pay 0.01 as fees It's not less than 0.01. Coin selection choose 3 input transactions of the same amout (3 x 0.01234567) to pay 0.01234567. So, i guess the transaction is above 1k (or priority implies a fee). Not a bug so, just need to optimize coin selection maybe.
|
|
|
I suspect some fee problem when sending with a CIn like 0.01234567. I've sent 0.01234567 to myself, waited for 10 confirmations and try to send 0.01234567 to myself again. => bitcoin GUI suggest me a 0.01 fee This transaction is over the size limit. You can still send it for a fee of 0.01, which goes to the nodes that process your transaction and helps to support the network. Do you want to pay the fee?
I tried 7/8 times, same message appears. There shouldn't be a fee here ?
|
|
|
The Json code returned by http://bitcoin-contact.org/bitcoin-address-admin.txt can be static or dynamic. If you want dynamic addresses, do it with a rewrite rule in apache to redirect the static file to a php script : RewriteRule ^bitcoin-address-(.*).txt$ /myscript.php?q=$1 [L,NC] Once in the php script, you can do what you want : - connect to you own node and get new address - return a random address from a predefined pool Don't forget this system is for bitcoin public address discovery, not for managing addresses from a merchant website. Is there a use case i miss or misunderstood ?
|
|
|
I see the potential use, but it would require Bitcoin clients to support HTTP (arguably not a problem, as JSON-RPC and the current Wallet protocol draft also require it) and more problematic: HTML parsing...
Also, your argument can be used in reverse: nobody could use your suggestion today, but many Bitcoin clients already support normal links to bitcoin: URIs. Sure, I could add a <link/> to my website, but it would have no practical use unless someone installed a (currently non-existent) client for it. I'm sure a simple ECMAScript to rewrite bitcoin: links when support is missing wouldn't be too difficult either...
Do not contradict me! :p (a smiley is enough ?) So, to go out of this no usable solutions, here is a patch to send payments to emails, urls and domains : http://bitcointalk.org/index.php?topic=6187.0Happy ? :p (I let the uri sheme to someone else)
|
|
|
This his currently a patch proposed for integration into bitcoin : http://bitcointalk.org/index.php?topic=6186.0Here is a 64bits binary for linux if you want to test : http://dl.free.fr/vX39kOI7Y (backup your wallet before. You can't test with an empty wallet, because bitcoin will stop after checking the amount) 1. How to add this to your website 2. You have an email and don't own the domain 1. How to add this to your websiteDefault address for your own domainCreate a file named "bitcoin-address.txt" at the root of your domain and remplace 111... chars with your address : { "error" : "", "label" : "Label of your website, or email address for example", "address" : "1111111111111111111111111111111111" } Email address for your own domainExample : mymail1@mydomain.comCreate a file named "bitcoin-address-mymail1.txt" at the root of your domain and remplace 111... chars with your bitcoin address : { "error" : "", "label" : "Your email address or a label", "address" : "1111111111111111111111111111111111" } Example : mymail2@mydomain.comCreate a file named "bitcoin-address-mymail2.txt" at the root of your domain and remplace 222... chars with your bitcoin address : { "error" : "", "label" : "mymail2@mydomain.com", "address" : "2222222222222222222222222222222222" } 2. You have an email and don't own the domainExample : mypseudo@gmail.com & address 11111111111111111111111111111 Register your email and bitcoin addresses to http://bitcoin-contact.org/?account and set them public. Then, give this url to your contacts : http://bitcoin-contact.org/q/getaddress/mypseudo@gmail.comYou can also register a pseudo on bitcoin-contact and use this directly : mypseudo@bitcoin-contact.orgNote : you can also set the label to " mypseudo@gmail.com" and people who use " mypseudo@bitcoin-contact.org" will receive a contact like that : - label : mypseudo@gmail.com- address : 11111111111111111111111111111 If you have configured you domain/email address, I can test it and say you if it works. If someone is able to compile a windows version, i'll add it at the top of this thread.
|
|
|
Chapters1. Description 2. Technical explanation 3. Usages examples 4. How to add this to your website 5. You have an email and don't own the domain Pull request on git : http://github.com/bitcoin/bitcoin/pull/1741. DescriptionThis patch allows you to send payments to email address, domain names and url from the bitcoin GUI. Valid examples of inputs : 2. Technical explanationInput url/address is translated to an http request sent to the corresponding domain (ip addresses are not translated for backward compatilibty). A valid response is a text formatted in json, containing a bitcoin address with an optional label : { "error" : "", "label" : "Bitcoin Contact", "address" : "1NMxHnpAE38P9HN9pzRSqAFMCv1WcXZC1N" } GUI will propose you to add the returned address in your address book. KISS !3. Usages examplesI've taken my own domain (bitcoin-contact.org) for the examples, because i need some working examples. To see how to add this in your website, see next part. "Pay To" is the user input written in the "Pay To" field of the "Send Coins" GUI. Domain name :Pay To : bitcoin-contact.org Request : http://bitcoin-contact.org/bitcoin-address.txtRequest result : { "error" : "", "label" : "Bitcoin Contact", "address" : "1NMxHnpAE38P9HN9pzRSqAFMCv1WcXZC1N" } Payment sent to : 1NMxHnpAE38P9HN9pzRSqAFMCv1WcXZC1N Domain root url :Pay To : http://bitcoin-contact.orgRequest : http://bitcoin-contact.org/bitcoin-address.txtRequest result : { "error" : "", "label" : "Bitcoin Contact", "address" : "1NMxHnpAE38P9HN9pzRSqAFMCv1WcXZC1N" } Payment sent to : 1NMxHnpAE38P9HN9pzRSqAFMCv1WcXZC1N Email :Pay To : khal@bitcoin-contact.orgRequest : http://bitcoin-contact.org/bitcoin-address-khal.txtRequest result : { "error" : "", "label" : "Khalahan", "address" : "1L5zqFahc8Ahu9wtgJqCeJMendvD174xsG" } Payment sent to : 1L5zqFahc8Ahu9wtgJqCeJMendvD174xsG Pay To : user@bitcoin-contact.orgRequest : http://bitcoin-contact.org/bitcoin-address-user.txtRequest result : { "error" : "Not a public address." } Payment sent to : If error field is not empty, bitcoin displays standard error "Invalid address". Any other URL :Pay To : http://bitcoin-contact.org/q/getaddress/khal@bitcoin-contact.orgRequest : http://bitcoin-contact.org/q/getaddress/khal@bitcoin-contact.orgRequest result : { "error" : "", "label" : "Khalahan", "address" : "1L5zqFahc8Ahu9wtgJqCeJMendvD174xsG" } Payment sent to : 1L5zqFahc8Ahu9wtgJqCeJMendvD174xsG You can give any url as long as it returns those json lines.4. How to add this to your websiteDefault address for your own domainCreate a file named "bitcoin-address.txt" at the root of your domain and remplace 111... chars with your address : { "error" : "", "label" : "Label of your website, or email address for example", "address" : "1111111111111111111111111111111111" } Email address for your own domainExample : mymail1@mydomain.comCreate a file named "bitcoin-address-mymail1.txt" at the root of your domain and remplace 111... chars with your bitcoin address : { "error" : "", "label" : "Your email address or a label", "address" : "1111111111111111111111111111111111" } Example : mymail2@mydomain.comCreate a file named "bitcoin-address-mymail2.txt" at the root of your domain and remplace 222... chars with your bitcoin address : { "error" : "", "label" : "mymail2@mydomain.com", "address" : "2222222222222222222222222222222222" } 5. You have an email and don't own the domainExample : mypseudo@gmail.com & address 11111111111111111111111111111 Register your email and bitcoin addresses to http://bitcoin-contact.org/?account and set them public. Then, give this url to your contacts : http://bitcoin-contact.org/q/getaddress/mypseudo@gmail.comYou can also register a pseudo on bitcoin-contact and use this directly : mypseudo@bitcoin-contact.orgNote : you can also set the label to " mypseudo@gmail.com" and people who use " mypseudo@bitcoin-contact.org" will receive a contact like that : - label : mypseudo@gmail.com- address : 11111111111111111111111111111
|
|
|
It would have several advantages to be a distributed system of course. But if you do it with dns or web sites, this is not so universal, because you must either own a domain name or a website.
With an uri_sheme, you can post your address everwhere you can publish something on internet, IF this uri sheme is allowed => currently almost nowhere.
With my solution, you can publish everywhere you can publish a link. Of course, there is the disadvantage of being centralized, but it's usable everywhere and now. So, both solutions will be used in different contexts (a merchant may use an uri sheme when it will be available, because it's not centralized).
|
|
|
Hum, I forgot to unlock the possibility to register an account... Registrations are now opened :p
|
|
|
API added{ "error" : "", "address" : "1L5zqFahc8Ahu9wtgJqCeJMendvD174xsG" } - Return all public informations from identity associated with this address (bitcoin, email, pseudo, url, label)
/q/getidentity/<address>
{ "error" : "", "label" : "Bitcoin Contact", "url" : "http:\/\/bitcoin-contact.org", "email" : [ "admin@bitcoin-contact.org" ], "address" : [ "1NMxHnpAE38P9HN9pzRSqAFMCv1WcXZC1N" ] } - Several formats of output
Here's link to API documentation page.
|
|
|
Major update of Bitcoin Contact !Registration is enabled- registration is now possible
- you can register pseudo, email & bitcoin address
- - email addresses are verified by an activation link
- - bitcoin address ownership is verified by sending a transaction to yourself (to make short)
- private messages are fully activated
- you can read privates messages sent to your registered addresses (public or not)[/b]
- all registered addresses are private by default
A new concept of Public Bitcoin IdentityA verified identity allow you to associate a bitcoin address with another public address, to let people know who you are and to avoid people claim they get bitcoins/donations for you.- Allows you to have a public bitcoin identity with a bitcoin address (or more) associated with email(s) or/and pseudo(s)
- You can add a website and a label for your identity
- You can make an official account for you and/or your website
- here are two examples :
- - Bitcoin Contact Owner
- - Khalahan
So, several addresses will point to the same identity : http://bitcoin-contact.org/identity/admin@bitcoin-contact.orghttp://bitcoin-contact.org/identity/1NMxHnpAE38P9HN9pzRSqAFMCv1WcXZC1NOther- New homepage
- bonus : complete rewrite of internal structure & code to allow easyer updates
Todo- protect emails against bots
- allow mail forwarding for bitcoin addresses
- update sign generator
- it's too late for anything else to come to my mind :p
A lot of work for this version. Many other usefull features will be added (api, address associations, etc). I hope the whole thing will have some utility :p ps : registration of bitcoin addresses is beta. I don't know if it will work each time (follow instructions when adding a bitcoin address). Comments welcome.
|
|
|
Thanks, i prefer this rather than a bug.
|
|
|
Version 32002 allow full precision in RPC, but not the GUI (0.3.20.2 BETA). Linux version, 64bits. [edit] Transaction amount has been rounded... (with RPC) ~/bitcoin/bitcoin-0.3.20.2/bin/64/bitcoind sendtoaddress 1B3Lbed1DdthF1LEoPrAoJvbX2SqXY1TGx 1.00123456 801cb30169228441d1a8632a5b3d6b7880947c71e7db696818ac74d26edd3734
{ "account" : "", "address" : "1B3Lbed1DdthF1LEoPrAoJvbX2SqXY1TGx", "category" : "send", "amount" : -1.00000000, "fee" : 0.00000000, "confirmations" : 0, "txid" : "801cb30169228441d1a8632a5b3d6b7880947c71e7db696818ac74d26edd3734", "time" : 1302885826 }
|
|
|
Your patch is usefull when you have two copies of your wallet running at the same time ? For an offline wallet, a partial rescan is needed with your complementary patch : https://github.com/bitcoin/bitcoin/pull/152Good job ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
I'm mining with my eeePC 701 at 200khash/s, impressed ? :p (with other computers, all CPU mining)
|
|
|
If your customers don't want to publicly say "i bought something on this web site", you should give a separate address to each customer at least. Otherwise, we just need to search your unique payment address in blockexplorer and we know all addresses who have paid you and also your number of sells and your turnover.
|
|
|
|