Bitcoin Forum
May 13, 2024, 06:12:40 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Bitcoin Technical Support / Disc usage on: February 18, 2013, 10:22:51 AM
Over the last 2 years, I have been running a bitcoin service.
Now the disc usage is getting out of hand, and I am wondering if there is any improvements in that in newer versions?

The one I am running is quite old (it does not have access to any bitcoins), and since I am using a custom patch, it may not be so simple to upgrade.

Also what amount of disc usage is acceptable atm ?

Currently I have 20GB used just by .bitcoin Sad
2  Bitcoin / Project Development / Standard HTTP Post scheme for bitcoin payment notifications on: February 24, 2012, 10:42:19 AM
As discussed briefly in another bitcoinmonitor thread, some form of standard for HTTP Post notifications would be beneficial for all.

The goal with this thread, is to agree on a minimum subset of variables, and signature generation, that all services will implement, so that no matter which service you use, the basic function is the same.
This would allow shops to pick a payment module, and payment notification service(s) independently.

The standard will need to define which fields are mandatory, and which fields are used in the calculation of signature, in which sequence and how the signature is calculated.

To start off, heres my bid for mandatory fields
The names are only suggestions.
  • to_address
  • amount (in satoshi to avoid any radix point confusion)
  • confirmations (Number of confirmations at the time of the notification, not necessary the requested amount)
  • txhash (the hash of the transaction that contains the payment)
  • block (height of the block that contained the tx, -1 if unconfirmed)
  • signature (see below)
  • service (name of the service, could be used in shops where 2 of 3 notifications are needed, before its accepted)
  • IP (public ip of the service, since this is included in the signature, a replay attack has to be done from the same IP (yes it can be spoofed))

If we can agree on a hashing algorithm, thats cool.
But since we may not, and any algorithm in time could become obsolete, I think a field to specify the used algorithm is useful, also this could allow services to make a easier CRC, for the "internet of things", like xor/crc8.

  • algorithm (sha1, md5, crc32, etc.)

To keep it simple to implement, we should only list the ones that are likely to be used, since any payment system will need to implement all, so if possible, we should keep to the most standard ones, that are likely to be available.
I would suggest using PHP as the reference, since its pretty popular, and contains quite a few hashing systems.

I hope we can agree on a sequence, so that the system does not need to load a list of fields to calculate the signature.

After security checks, a signature validation could be performed in PHP
Code:
if ($_SERVER['REMOTE_ADDR'] == $ip &&
$$algorithm($to_address.$amount.$confirmations.$txhash.$block.$ip.$secret) == $signature)
The service name does not need to be included in the calculation, since it would be used to lookup the secret value, so if its changed the validation will fail.

Any service can add extra fields, like btc_amount, from_addresses, datetime, etc.
Since the signature does not include those fields, the same code can still be used.
If those fields contain data, a middle-man would have interest in modifying, a second signature could be added.


This is only my suggestion, please feel free to comment and explain your view on how it can/should be done.
3  Economy / Goods / [WTS] The Humble Bundle - NonProfit on: January 31, 2012, 07:26:32 PM
Selling this great bundle for bitcoins, pay what you like, all funds go to developers.
You need to beat the average to get some bonus items, currently its 4.5$, so about 0.8BTC

PM me for an address to send payment to, delivery as gift code after 1 confirmation.



The Humble Bundle for Android

Four awesome games for your Android device. Jump start your mobile game collection with Anomaly: Warzone Earth, Osmos, and EDGE. If you pay more than the average price, you also get the indie classic World of Goo!

Playing at your desktop? No problem. Buying the Humble Bundle for Android also gets you Mac, Windows, and Linux versions of the games.

Pay what you want. If you bought these games separately, it would cost around $60, but we are letting you set the price!
4  Economy / Goods / [WTS] Network enabled temperature logger on: January 25, 2012, 09:12:25 PM
I have a well tested hardware project that can display temperature and other analogue/digital sensors on a embedded website, and also send them as a GET request every minute.

I call it Stokerbot, since it was originally meant for monitoring Stoker furnace, today it is used for many different things like server rooms, pools, farms, solar heat, etc.

These boards are just what you need to monitor your mining rig/door/window/pool/etc Smiley


I have 2 models, S3S and S3XS.

Features that they share are.
Atmega1284P 40pin DIP based
3x1-wire bus with 9/10 3pin plugs for plug'n'play with cheap DS18B20 probes (ebay etc).
Reverse polarity protected.
4 analoge pins
4 digital pins
Network bootloader
ISP plug
TTL serial plug 6pin straight
Onboard SystemID (DS2401) and temperature (DS18B20)
Uses ENC28J60 for network.


Features that set them aside

Stokerbot S3S.
5V logic and inputs, runs off 9-12Vdc
9 temperature connectors
1 LCD connector for serial LCD backpack (LCD Logic)
2 expansion ports with 8pins and 2 power pins each (I2C, etc, not all unused).
2x3 screw terminals for 1-wire besides the 9 connectors

Stokerbot S3XS.
3V3 logic and inputs, runs off 6-9Vdc
10 temperature sensors
2 onboard LEDs connected to 2 of the digital outputs, red/green.


Both boards are based on tuxgraphics code(http://tuxgraphics.org/electronics/), which is opensource GPL.



Prices including shipping worldwide
Inside EU : S3S:109USD S3XS:69USD
Outside EU/EU business : S3S:89USD S3XS:55USD
Price converted to BTC at time of order, using mt. gox last

S3S


S3XS


They can both be used with http://stokerlog.dk, however the site is only in Danish for now.


SMD is reflow soldered in DIY oven, PTH is hand soldered with temperature controlled iron.
Both processes and all components are RoHS.
Supply is not endless, I currently have a few of each model in stock.

Feel free to ask/comment/etc Smiley
5  Economy / Goods / [WTS] indieroyale.com - Serious Sam lightning pack 0.75BTC on: January 25, 2012, 11:19:55 AM
If you pay me while the pack is running and price is below 4EUR, I will gift to your email address.
If you pay after pack is completed or price is above 4EUR, you will get a gift URL, I guarantee that only one person will get same URL.

"A total of six Serious Sam-themed games, including four new indie-developed games riffing on Croteam's gonzo FPS franchise, plus the two original games in the series."
6  Bitcoin / Project Development / [DONE] Patch bitcoin v0.5.1rc2 to send a HTTP POST when a new block is accepted on: January 06, 2012, 06:26:13 PM
Src : https://github.com/bitcoin/bitcoin/commits/v0.5.1rc2

For original thread where the idea was mentioned : https://bitcointalk.org/index.php?topic=40264.msg676281#msg676281

The idea is to add a HTTP POST call to a local webserver, after bitcoind has accepted a new transaction into memory.

I will not put too much requirements on the contents of the call, its easyier to convert in PHP that C++ anyway.
But I need at least inputs and outputs with amounts.
The HTTP url can be hardcoded in the patch.
Patch license should be same as bitcoin or public domain.

[EDIT] What I am looking for is a call with http/system, when bitcoind gets a new transaction, ie. unconfirmed, I am not interested in the actual blocks, since I already have a setup to handle that.

Here's my suggestion for the easiest way to get unconfirmed transactions out of bitcoind

At the end of the AcceptToMemoryPool() function in main.ccp use WalletTxToJSON() in bitcoinrpc.cpp to make a json string and the HTTPPost method in to post it to your callback url which you can process.

I have posted this to vworker.com also, feel free to post a bid there.
If you are interested before bids are posted on vworker, you can also bid here.
7  Bitcoin / Project Development / [CLOSED] BitPing.Net - A bitcoin notify service on: December 28, 2011, 10:19:14 PM
[UPDATE]
As of March 2013 the website is no longer operational.
If someone wishes to take over the domain, feel free to contact me.
[/UPDATE]




After a few long evenings, the website is now ready for real use.
The idea is much the same as the old bitcoin-notify, but other than that is has no connection.

TL;DR New Bitcoin notify service (Beta) - http://www.BitPing.Net

The system uses bitcoind to download the block chain.
And Abe to parse the blockchain into MySQL (So you can run the block explorer also).
Then a monitor looks into the database every so often, to see if there are new notifications to be made.
Really the most work is in making the user interface, and since it may still contain a few bugs, I will wait a few weeks before publishing the UI code.
The monitor and an installation guide is avaliable from day 1 however, so if you plan to run a similar website, you should start by getting bitcoind and Abe synced up.


The idea is that you enter a bunch of public addresses into BitPing.Net (or a self hosted database).
Then select the number of confirmations you require and which http address to call when a new payment is made.
Currently we only support 1+ confirmations, ie. no unconfirmed notifications and just email/http notifications.

The HTTP POST interface is very simple, and there is an example when you are logged in.
More notification types, and events will be added as requested.

There is a link to the github at the bottom of the page with a rough installation guide to bitcoind, abe and the monitor script.

Any feedback is very much welcome, thanks.



Screenshots


Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!