Bitcoin Forum
April 24, 2024, 02:39:22 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2] 3 »  All
  Print  
Author Topic: [CLOSED] BitPing.Net - A bitcoin notify service  (Read 6914 times)
MORA (OP)
Full Member
***
Offline Offline

Activity: 127
Merit: 100



View Profile
January 22, 2012, 02:18:51 PM
 #21

It is now downloading blockchain again from beginning ?
I tried to restore a good chunk of the block file to speed it up and it failed, so yes, it is going to have to slave its way trough the entire block chain.

How about incising that retry to at least few days? It can try frequently for the first hour and then it can try like once pen hour.
Well if your server is down several days, you should be confirming the payments manually anyway.
Could maybe increase the delay to a few hours.

Also is there option that BitPing requires specific reply from my server? Something like 'OK' ?
No, any 200 resp will do.

I plan to use it for exchange and I think those are options that I need to make it reliable.
Then you should probaly run a local service, instead of depending on an external service.
1713969562
Hero Member
*
Offline Offline

Posts: 1713969562

View Profile Personal Message (Offline)

Ignore
1713969562
Reply with quote  #2

1713969562
Report to moderator
1713969562
Hero Member
*
Offline Offline

Posts: 1713969562

View Profile Personal Message (Offline)

Ignore
1713969562
Reply with quote  #2

1713969562
Report to moderator
1713969562
Hero Member
*
Offline Offline

Posts: 1713969562

View Profile Personal Message (Offline)

Ignore
1713969562
Reply with quote  #2

1713969562
Report to moderator
"This isn't the kind of software where we can leave so many unresolved bugs that we need a tracker for them." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713969562
Hero Member
*
Offline Offline

Posts: 1713969562

View Profile Personal Message (Offline)

Ignore
1713969562
Reply with quote  #2

1713969562
Report to moderator
1713969562
Hero Member
*
Offline Offline

Posts: 1713969562

View Profile Personal Message (Offline)

Ignore
1713969562
Reply with quote  #2

1713969562
Report to moderator
MORA (OP)
Full Member
***
Offline Offline

Activity: 127
Merit: 100



View Profile
January 23, 2012, 09:01:34 AM
Last edit: January 23, 2012, 04:30:44 PM by MORA
 #22

Just 10K blocks togo ...
Missed notifications will begin to be sent out in a few hours.

[UPDATE] 2000blocks remaining, processing at about 20 each minute ~1½hour till notifications start again

[UPDATE] Back in action as of 16:30 UTC
MORA (OP)
Full Member
***
Offline Offline

Activity: 127
Merit: 100



View Profile
January 24, 2012, 10:02:13 PM
 #23

With the help of stcupp we can now supply unconfirmed notifications Smiley

For now this only works with regular orders, ie. not one-shot API.
You simply select 0 from the dropdown...

Unconfirmed events are attempted for delivery every 10seconds for 5 minutes, after that no more attempts are made.
Regular events 1-n are now attempted every 2 minutes for 24hours.

So you may wish to register for unconfirmed events to show "Payment received" to customer, and then 1-6confirmations before shipping the items/downloads/keys/etc.

This is ofcause beta, please report any bugs, missed events, etc.
For HTTP POST API confirmations is set to 0 for unconfirmed, and block to -1.


In other news : A bug with block number has been fixed, previously we were sending blockID, not the blockHeight.

hex
Newbie
*
Offline Offline

Activity: 45
Merit: 0



View Profile WWW
January 25, 2012, 01:49:58 AM
 #24

Regular events 1-n are now attempted every 2 minutes for 24hours.

Thank you!
MORA (OP)
Full Member
***
Offline Offline

Activity: 127
Merit: 100



View Profile
January 25, 2012, 12:23:42 PM
 #25

Latest changes have been comitted to github, along with a small example app that uses jQuery and BPN to show live payment received to "customer" Smiley
MORA (OP)
Full Member
***
Offline Offline

Activity: 127
Merit: 100



View Profile
January 26, 2012, 12:43:50 PM
 #26

If someone is willing to host a copy of the service, please let me know and I will help with the setup if needed.
Optimally there should be 3+ identical services, so websites can register for all 3, and require 2 independent events before taking it for good.

For the same reason, a mirror/copy should not be hosted by me, since it could then go down at the same time.

The service requires 512mb ram, 15gb disc space, virtually no cpu and low disc io (after the initial import)
You can of cause change the donation link on your version, but you should not expect to make a profit out of it.
MORA (OP)
Full Member
***
Offline Offline

Activity: 127
Merit: 100



View Profile
January 26, 2012, 02:17:21 PM
 #27

Basic API for address handling added.
You can now add and remove addresses from the orders using a API.

This is useful if you for whatever reason cannot or will not give out all address upfront, you can then call BPN when you assign a address to a user, or in the morning with the list of addresses for the day, etc.

More info under "Orders", its a GET/POST with your secret used in a sha1 hash for security.
Adding an address that already exists, will not result in a error.
Removing an address that don't exists, will not result in a error.
N.Z.
Sr. Member
****
Offline Offline

Activity: 427
Merit: 250



View Profile
January 26, 2012, 08:54:38 PM
 #28

Very nice and simple service, thanks!
MORA (OP)
Full Member
***
Offline Offline

Activity: 127
Merit: 100



View Profile
January 31, 2012, 01:43:16 PM
 #29

Added exchange rates Smiley

http://bitping.net/exchange_rates.php for all pairs.
http://bitping.net/exchange_rates.php?rates=DKKBTC,DKKUSD for just those rates.

Data is updated every 15minutes.
The USDBTC is from mt. gox.
All other BTC are calculated based on this, ie. EURBTC is NOT the eur exchange, but simply EURUSD * USDBTC.

See license and other notes in the feed.

Small example (note that we can only use 0 here, because I only asked for 1rate, and you should ofcause do some error checking...

Code:
$json = json_decode(file_get_contents("http://bitping.net/exchange_rates.php?rates=DKKBTC"), true);

echo "DKKBTC IS ".$json["rates"][0]["rate"]." last updated at ".$json["rates"][0]["updated"]."<br><br>";

$btc = 1000 / $json["rates"][0]["rate"];
echo "Please pay $btc BTC to 1xyz <br><br>";
CIYAM
Legendary
*
Offline Offline

Activity: 1890
Merit: 1075


Ian Knowles - CIYAM Lead Developer


View Profile WWW
January 31, 2012, 02:00:00 PM
 #30

This is a great idea - would it be possible to also support an option for a plain text minimal output?

e.g. http://bitping.net/exchange_rates.php?rates=AUDBTC&format=rate_only

that would output

5.23623852

(handy for use with curl)


Cheers,

Ian.

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
MORA (OP)
Full Member
***
Offline Offline

Activity: 127
Merit: 100



View Profile
January 31, 2012, 02:26:12 PM
 #31

This is a great idea - would it be possible to also support an option for a plain text minimal output?

e.g. http://bitping.net/exchange_rates.php?rates=AUDBTC&format=rate_only

Done, with a small twist just to be safe Smiley
http://bitping.net/exchange_rates.php?rates=AUDBTC&format=rate_only&disclaimer=accepted
CIYAM
Legendary
*
Offline Offline

Activity: 1890
Merit: 1075


Ian Knowles - CIYAM Lead Developer


View Profile WWW
January 31, 2012, 02:49:31 PM
 #32

Awesome - thanks a lot!

Smiley

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
MORA (OP)
Full Member
***
Offline Offline

Activity: 127
Merit: 100



View Profile
February 13, 2012, 05:11:07 PM
 #33

Fixed a bug in 0-confirmation signature calculation recently, so you can now validate the message correctly! Smiley

Added a price conversion tool.

https://bitping.net/tools/price.php?amount=100&currency=USD returns how many BTC equals USD
https://bitping.net/tools/price.php?amount=100&currency=USD&type=js returns it as a javascript document.write, so it can be used in clientside only websites to build a simple "shop".

More info : http://bitping.net/tools.php
btc_artist
Full Member
***
Offline Offline

Activity: 154
Merit: 101

Bitcoin!


View Profile WWW
February 15, 2012, 06:24:15 AM
 #34

Notify

BTC: 1CDCLDBHbAzHyYUkk1wYHPYmrtDZNhk8zf
LTC: LMS7SqZJnqzxo76iDSEua33WCyYZdjaQoE
Boussac
Legendary
*
Offline Offline

Activity: 1220
Merit: 1015


e-ducat.fr


View Profile WWW
February 23, 2012, 11:38:08 PM
 #35

Awesome! Very useful service and source..

hex
Newbie
*
Offline Offline

Activity: 45
Merit: 0



View Profile WWW
March 20, 2012, 12:54:24 PM
 #36

Any chance to see more detailed history about what happened to each notification ?
hex
Newbie
*
Offline Offline

Activity: 45
Merit: 0



View Profile WWW
March 20, 2012, 01:55:27 PM
 #37

I am monitoring this address: http://blockexplorer.com/address/1J9fuhVWEBT1ZuRRk66eFo6s9pc4wJ4ozg

But I have not received notification.
Also there is no notification in history...
MORA (OP)
Full Member
***
Offline Offline

Activity: 127
Merit: 100



View Profile
March 20, 2012, 06:10:31 PM
 #38

I am monitoring this address: http://blockexplorer.com/address/1J9fuhVWEBT1ZuRRk66eFo6s9pc4wJ4ozg

But I have not received notification.
Also there is no notification in history...
Did you create the order after the payment was sent (but before it reached 4 confirmations) ?

I am currently running a test to check if theres anything wrong with the system.
Which informations are you looking for in history ?
MORA (OP)
Full Member
***
Offline Offline

Activity: 127
Merit: 100



View Profile
March 20, 2012, 06:42:29 PM
 #39

Hmm, found a bug in the monitor code, that caused some addresses to not be detected  Cry
It should be fixed now, will test again.
hex
Newbie
*
Offline Offline

Activity: 45
Merit: 0



View Profile WWW
March 21, 2012, 01:26:19 AM
 #40

it works now.

Thanks!
Pages: « 1 [2] 3 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!