Bitcoin Forum
May 11, 2024, 01:12:43 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 [2]
21  Other / Off-topic / PayPal "permanently restricts" Wikileaks account on: December 04, 2010, 05:25:07 AM
http://wlcentral.org/node/482

Good times...
22  Economy / Service Announcements / Announcing the Bitcoin Laundry (beta) on: December 03, 2010, 02:57:42 PM
http://bitcoinlaundry.com/

The Bitcoin Laundry will accept your payment, deduct a small commission, and then forward the balance on to a Bitcoin address you designate.

The current commission rate is 1%.

Launder today!
23  Bitcoin / Bitcoin Discussion / Center for a Stateless Society now accepts Bitcoin donations on: December 03, 2010, 01:33:06 AM
The Center for a Stateless Society (http://c4ss.org/), the leading market anarchist media center, now accepts Bitcoin donations to address 1N1pF6fLKAGg4nH7XuqYQbKYXNxCnHBWLB.

This address is also published at http://c4ss.org/support-the-center/

Disclosure: I handle the Center's IT, and I'm its Bitcoin treasurer.
24  Bitcoin / Development & Technical Discussion / Weird behavior: performance drop after ~10 sec on: December 03, 2010, 01:27:35 AM
I posted my max hash rate for my Core i7 on Windows 7 at https://www.bitcoin.org/wiki/doku.php?id=bitcoin_miners#khash_rate_reports just now. Maxes out around 2,450 khashes/sec.

Something odd, though:
  • Start Bitcoin (GUI or headless mode) with no CPU limit
  • After connect, performance goes to about ~2400khashes/sec
  • After about 10 seconds, performance drops to ~1350khashes/sec, and stays there
  • Change CPU limit to 1, then back to unlimited
  • Behavior above repeats itself

Anyone else seeing this? I tried shutting down other programs, but it didn't make any difference.
25  Bitcoin / Bitcoin Technical Support / Bug report: setgenerate/getgenerate on: November 27, 2010, 02:39:22 AM
"setgenerate true 0" disables generation, but leaves the "generating" flag at TRUE:

syadasti@nobody:~$ bitcoind setgenerate true 1
syadasti@nobody:~$ bitcoind getgenerate
true
syadasti@nobody:~$ bitcoind setgenerate false
syadasti@nobody:~$ bitcoind getgenerate     
false
syadasti@nobody:~$ bitcoind setgenerate true 0
syadasti@nobody:~$ bitcoind getgenerate       
true
26  Bitcoin / Bitcoin Discussion / Bitcoin for WP e-Commerce for WordPress on: November 26, 2010, 11:40:55 PM
A payment processor for the WP e-Commerce shopping cart plugin for WordPress.

github repository: https://github.com/mikegogulski/bitcoin-virtuemart
Support: http://www.nostate.com/3971/bitcoin-for-wp-e-commerce-shopping-cart-for-wordpress/

The README file:

Bitcoin for WP e-Commerce

A Bitcoin payment method for the WP e-Commerce shopping cart for WordPress.

Version: 0.9.0

Features

    * Generates a new bitcoin address for every order
    * Provides payment address to customer on site at checkout, plus in a subsequent email
    * Configurable timeout after which unpaid transactions will be canceled automatically
    * Configurable number of Bitcoin network confirmations after which an order is considered paid
    * HTTP or HTTPS access to bitcoind

Requirements
Base requirements

    * WP e-Commerce 3.7.7 or greater
    * WordPress 3.0 or greater (may work on 2.8+, untested)

PHP requirements:

    * PHP5
    * cURL support
    * SSL support (if you're using HTTPS to talk to bitcoind)

Limitations

    * It is assumed that Bitcoin is the only currency accepted.
    * All prices are assumed to be in Bitcoins, and no currency conversions are performed.
    * Checks for payment receipt are performed via WordPress cron, at least until bitcoind allows attaching a JSON-RPC callback to an address.
    * No notification is sent to the customer or shop administrator if a transaction expires without payment.
    * Expired transactions are marked with a status code of "5" in the database, which doesn't correspond to a human-readable status code provided by WP e-Commerce.
    * No localization support.

Installation

    * Install WordPress http://codex.wordpress.org/Installing_WordPress.
    * Log into your WordPress installation as an administrator.
    * Install WP e-Commerce via Plugins->Add New in the WordPress dashboard.
    * Transfer the contents of the distribution archive to the wp-content/plugins/wp-e-commerce directory of your WordPress installation.

Configuration

    * Navigate to Store->Settings->Payment Options.
    * Under "General Settings", check "Bitcoin" and uncheck everything else.
    * Click "Update"
    * At right, Select the Bitcoin payment gateway.
    * Configure your bitcoind server information.
    * If you are using HTTPS to talk to bitcoind and would like to validate the connection using bitcoind's own SSL certificate, enter the absolute path to the certificate file (server.cert) you've uploaded to the server.
    * Configure your payment timeout and number of transaction confirmations required.
    * Adjust the checkout message template as required.
    * Click "Update".
    * Click "General" at the top and set the currency type to "Bitcoin".
    * Set the remaining parameters as you wish and click "Update".

Donate

    * Bitcoin payments: 1DcZfySDvUoNBzf2mwReVy3VL93WtwnALr
    * Gifts via other methods: http://www.nostate.com/support-nostatecom/

Authors

    * Mike Gogulski - http://www.nostate.com/ http://www.gogulski.com/

Credits

Bitcoin for WP e-Commerce incorporates code from:

    * XML-RPC for PHP by Edd Dumbill (for JSON-RPC support)
    * bitcoin-php by Mike Gogulski (Bitcoin support library)

License

Bitcoin for WP e-Commerce is free and unencumbered public domain software. For more information, see http://unlicense.org/ or the accompanying UNLICENSE file.
27  Bitcoin / Bitcoin Discussion / bitcoin-php: A PHP library for Bitcoin on: November 24, 2010, 11:14:57 PM
With big credit to theymos...

Github repository: https://github.com/mikegogulski/bitcoin-php
Doxygen docs: http://code.gogulski.com/bitcoin-php/
28  Bitcoin / Bitcoin Discussion / uc_bitcoin: A Bitcoin payment method for Ubercart/Drupal on: November 24, 2010, 08:47:06 PM
First release of a Bitcoin payment method module for the Ubercart shopping cart for Drupal

Github repository: https://github.com/mikegogulski/uc_bitcoin
Support and module download: http://www.nostate.com/3955/uc_bitcoin-a-bitcoin-payment-method-for-ubercartdrupal/

Feedback welcome!

The README file:

uc_bitcoin

A Bitcoin payment method for the Ubercart shopping cart for Drupal.

Version: 0.9.0
Features

    * Generates a new bitcoin address for every order
    * Provides payment address to customer on site at checkout, plus in a subsequent email
    * Configurable timeout after which unpaid transactions will be canceled automatically
    * Configurable number of Bitcoin network confirmations after which an order is considered paid
    * HTTP or HTTPS access to bitcoind

Requirements
Base requirements

    * Ubercart 2.x
    * Drupal 6.x

PHP requirements:

    * PHP5
    * cURL support
    * SSL support (if you're using HTTPS to talk to bitcoind)

Limitations

    * It is assumed that Bitcoin is the only currency accepted.
    * All prices are assumed to be in Bitcoins, and no currency conversions are performed.
    * Checks for payment receipt are performed via Drupal cron, at least until bitcoind allows attaching a JSON-RPC callback to an address.
    * Orders for downloadables are not tagged as "shipped" once paid.
    * No localization support.

Installation

    * Install Drupal 6 http://drupal.org/documentation/install.
    * Install Ubercart 2 http://www.ubercart.org/docs/user/8075/installing_ubercart.
    * Transfer the contents of the distribution archives to the modules/ directory of your Drupal installation.

Configuration

    * Log into your Drupal installation as an administrator.
    * Navigate to Administer->Site building->Modules and enable the Bitcoin module
    * Navigate to Administer->Store administration->Configuration->Payment settings
    * Click "Edit" at top, then "Payment methods"
    * Enable the Bitcoin payment method and disable all others
    * Expand the "Bitcoin settings" dropdown and proceed as follows:
          o Configure your bitcoind server information.
          o If you are using HTTPS to talk to bitcoind and would like to validate the connection using bitcoind's own SSL certificate, enter the absolute path to the certificate file (server.cert) you've uploaded to the server.
          o Configure your payment timeout and number of transaction confirmations required.
          o Save configuration.
    * Navigate to Administer->Store administration->Configuration->Store settings
    * Clik "Edit", then "Format settings"
    * Expand the "Currency format" dropdown
    * Set "Default currency" and "Currency sign" to "BTC"
    * Save configuration

Donate

    * Bitcoin payments: 1DDuMEPaQzdH3vLTiQwQvACgnv7tR25SpE
    * Gifts via other methods: http://www.nostate.com/support-nostatecom/

Authors

    * Mike Gogulski - http://www.nostate.com/ http://www.gogulski.com/

Credits

uc_bitcoin incorporates code from:

    * XML-RPC for PHP by Edd Dumbill (for JSON-RPC support)
    * bitcoin-php by Mike Gogulski (Bitcoin support library)

License

uc_bitcoin is free and unencumbered public domain software. For more information, see http://unlicense.org/ or the accompanying UNLICENSE file.
29  Bitcoin / Development & Technical Discussion / Bitcoin library for PHP (alpha release) on: November 23, 2010, 08:12:12 PM
https://github.com/mikegogulski/bitcoin-php

(untested) Drupal usage example:
Code:
  include_once("bitcoin.inc");
  $bitcoin_client = new BitcoinClient($scheme, $username, $password, $hostname, $port, $certificate_path, $debuglevel);
  if (TRUE !== ($fault = $bitcoin_client->can_connect()))
    return watchdog('uc_bitcoin_cron', 'Unable to access Bitcoin server. Fault: !fault', $fault);
  // loop through the open transactions
  while ($my_order = db_fetch_object($result)) {
    // check for transaction completion
    $address = $my_order->bitcoin_address;
    try {
      $paid = $bitcoin_client->query("getreceivedbyaddress", $address, variable_get("uc_bitcoin_transaction_confirms", 1));
    } catch (BitcoinClientException $e) {
      return watchdog('uc_bitcoin', "Bitcoin server communication failed on getreceivedbyaddress !address with fault string !fault", array("!address" => $address, '!fault' => $e . message), WATCHDOG_ALERT);
    }

  • Abstracts away the underlying JSON-RPC interface
  • Incorporates theymos's ports of the address and hash handling functions
  • Includes unit tests

Forks welcome!
30  Bitcoin / Development & Technical Discussion / Request for Comments: Adopt "bitcoin" as the Bitcoin URI scheme on: November 22, 2010, 02:31:47 AM
Friends,

As discussed at http://bitcointalk.org/index.php?topic=55.msg23464#msg23464, Bitcoin needs a URI scheme.

<PROPOSAL:>

I propose that Bitcoin's URI scheme be "bitcoin". I also propose that this matter be left open through the end of 2010 for comments and discussion.

</PROPOSAL>

Background:

A "URI scheme" is an extremely simple thing. RFC 3986 (http://tools.ietf.org/html/rfc3986#page-17) defines a URI Scheme in ABNF as

scheme      = ALPHA *( ALPHA / DIGIT / "+" / "-" / "." )

IANA maintains the official registry of (officially registered) URI schemes. The current list is at http://www.iana.org/assignments/uri-schemes.html.

BCP35 (http://tools.ietf.org/html/bcp35) lays out the criteria and process for officially registering a URI scheme with IANA. I'll cheer the day when that happens. Meanwhile, looking at the IANA registry of current official URI schemes (http://www.iana.org/assignments/uri-schemes.html) immediately shows that there are many familiar ones in widespread use that are not "officially registered", such as magnet:, ed2k: skype:, callto:, aim:, freenet: and so on.
31  Bitcoin / Development & Technical Discussion / Feature request: Moar RPC! on: November 21, 2010, 01:04:54 PM
A couple of feature requests generated in the course of writing two Bitcoin payment gateways (for VirtueMart/Joomla! and Ubercart/Drupal):

1: Expand RPC capability to support XML-RPC as well as JSON-RPC (XML-RPC has wider language support from what I've seen).

2: Allow extra parameters to be attached to an address at creation and modified later:
  • $uri: JSON/XML-RPC callback URI
  • $total: Transaction total in BTC
  • $timeout: Transaction expiration interval (sec)
  • $minconf: Transaction minimum confirmations required
  • $cert: PEM certificate for callback target server

Additional options passed in should also cover these use cases:

Fire $uri, including parameters for the current balance and the most recent payment received, when:
  • Any payment is received to the address with $minconf confirmations.
  • Balance on address >= $total with $minconf confirmations.
  • $timeout expires without balance on address >= $total and without at least $minconf confirmations.

With this, bitcoind is ready to become a fully-fledged payment back-end for internet commerce.
32  Bitcoin / Bitcoin Discussion / bitcoin-ubercart-drupal is coming on: November 20, 2010, 10:28:00 PM
I need to do some documentation work, testing and tidying before a release, but the basics are working:

https://github.com/mikegogulski/uc_bitcoin

Big thanks to the donors who have sent a total of BTC 154.05 in 4 separate donations. You folks rock!
33  Bitcoin / Bitcoin Discussion / bitcoin-virtuemart-joomla payment gateway on: November 19, 2010, 02:03:29 AM
First release of a Bitcoin payment processor plugin to the VirtueMart shopping cart for Joomla!

Get it at github: https://github.com/mikegogulski/bitcoin-virtuemart
Support: http://www.nostate.com/3941/bitcoin-payment-processor-for-virtuemartjoomla/

Feedback welcome.


The README file:

bitcoin-virtuemart

A Bitcoin payment processor plugin for the VirtueMart shopping cart for Joomla!.

Version: 0.9.0
Features

    * Generates a new bitcoin address for every order
    * Provides payment address to customer on site at checkout, plus in a subsequent email
    * Configurable timeout after which unpaid transactions will be canceled automatically
    * Configurable number of Bitcoin network confirmations after which an order is considered paid
    * HTTP or HTTPS access to bitcoind

Requirements
Base requirements

    * Joomla! 1.5
    * VirtueMart 1.1.x

PHP requirements:

    * PHP5
    * cURL support
    * SSL support (if you're using HTTPS to talk to bitcoind)

Other requirements:

    * Access to create a cronjob on your web server (or elsewhere)
    * wget or the curl commandline tool on the machine running the cronjob

Limitations

    * It is assumed that Bitcoin is the only currency accepted.
    * All prices are assumed to be in Bitcoins, and no currency conversions are performed.
    * A cronjob is required to check for payment receipt, at least until bitcoind allows attaching a JSON-RPC callback to an address.
    * Emailing the bitcoin address requires an extra email to be sent (modifying the order confirmation message VirtueMart sends would be preferable, but the API doesn't support that).
    * Validation of bitcoind's generated address is based only on its length. The PHP solution available requires the GMP extension to be installed.
    * Orders for downloadables are not tagged as "shipped" once paid.
    * The Bitcoin address associated with a transaction is stored in a database field not intended for it.
    * No localization support.

Installation

    * Install Joomla! http://help.joomla.org/content/category/15/99/132/.
    * Install VirtueMart (a PDF file included in the distribution explains the process).
    * Untar the distribution archive in your Joomla! installation's base directory.

Configuration

    * Log into your Joomla! installation as an administrator.
    * Click Components -> VirtueMart on the main menu.
    * At left, click Store -> List Payment Methods.
    * Click Bitcoin in the list.
    * Click the checkbox next to "Name" at the top of the list, then clear the Bitcoin checkbox.
    * Click "Unpublish" at top.
    * On the "Payment Method Form" tab, configure as follows:
          o Active - checked
          o Payment Method Name - Bitcoin
          o Code - BC
          o Payment class name - ps_bitcoin
          o Payment method type - HTML-Form based (e.g. PayPal)
    * Now click to the "Configuration" tab and proceed as follows:
          o Configure your bitcoind server information.
          o If you are using HTTPS to talk to bitcoind and would like to validate the connection using bitcoind's own SSL certificate, enter the absolute path to the certificate file (server.cert) you've uploaded to the server.
          o Configure your payment timeout and number of transaction confirmations required.
          o Note the instruction to create a cronjob. The cronjob is what queries bitcoind periodically to see if pending orders have been paid. The cronjob is mandatory.
          o Leave the "Order status" options at their defaults:
                + Successful = Confirmed
                + Uncompleted = Pending
                + Failed = Cancelled
          o Copy and paste all of the code from extrainfo.php in the distribution archive's root directory into the "Payment Extra Info" box.
          o Save.
    * Create the Bitcoin currency:
          o Assuming you're still in the VirtueMart component, click Admin -> List Currencies at left.
          o Click New at top right.
          o Enter:
                + Currency name: Bitcoin
                + Currency code: BTC
          o Save.
    * Set the store-wide currency:
          o Click Store -> Edit Store
          o In the "Currency Display Style" box:
                + Open "Currency" and select Bitcoin.
                + Enter "BTC" as the Currency Symbol.
                + Under "List of accepted currencies" click Bitcoin and make sure that all other currencies are deselected.
          o Save.

Donate

    * Bitcoin payments: 1MU97wyf7msCVdaapneW2dW1uXP7oEQsFA
    * Gifts via other methods: http://www.nostate.com/support-nostatecom/

Authors

    * Mike Gogulski - http://www.nostate.com/ http://www.gogulski.com/

Credits

    * jsonrpc
    * PayCific

License

bitcoin-virtuemart is free and unencumbered public domain software. For more information, see http://unlicense.org/ or the accompanying UNLICENSE file.
Pages: « 1 [2]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!