Bitcoin Forum
April 26, 2024, 07:42:07 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Development & Technical Discussion / system error: CDB() : can't open database file wallet.dat on: March 21, 2013, 05:57:39 PM
Got this error while syncing bitcoin-qt

///
system error: CDB() : can't open database file wallet.dat
///

It then closes the client.

I restarted, same again.

Thought it may have been something to do with older version of software so i copied wallet and updated to 0.8.1. dl'd the whole blockchain again and errors again @ 99.9% complete.

Is it safe to just send the coins to a new wallet while these errors are occuring?

What is causing this? A corrupted wallet.dat or something else?
2  Economy / Service Discussion / Noob Mtgox Api on: March 03, 2013, 11:38:06 AM
Hi,

As stated i'm a noob trying to get the hang of the mtgox api.

I have set up my keys and API rights etc and can do basic calls for the ticker for last price etc, but i cannot get a call with a required parameter to work.

What is the correct way to pass multiple variables? I haven't found an example anywhere.

for example how would i make a call for a market order which requires 3 parameters:

type (bid|ask), amount_int, price_int


Any help would be appreciated. I posted this to the noob forum as i thought it was very basic but got little information
3  Other / Beginners & Help / learning mtgox API on: March 03, 2013, 01:35:02 AM
Hi i am trying to learn how to use the mtgox api but am struggling with some things.

I have managed to make some basic api calls, but am unsure how to pass parameters when it is necessary.


for example to submit an order the wiki says:

###
Submit an order

https://mtgox.com/api/1/BTCUSD/private/order/add

parameters:

    type (bid|ask) (easier to remember: bid == buy, ask == sell)
    amount_int <amount as int>
    price_int <price as int> (can be omitted to place market order)

submits an order and returns the OID and info about success or error
###


I tried:

https://mtgox.com/api/1/BTCUSD/private/order/add?type=ask?amount_int=100000000?price_int=2500000

But im just getting error:

"Invalid parameter "type" (should be ask or bid)"


(Also in INT is 100000000 = 1BTC?)
4  Other / Beginners & Help / "company wallet" on: February 23, 2013, 02:53:03 PM
Hi there,

I'm new to bitcoin and and trying to get my head around the best way to implement bitcoin payments for my website.

I know there are processors such as bitpay, but i would like to avoid the use of a middle man if at all possible for some of my websites.

I'm looking to implement a relatively automated system where by i am alerted when payment is made and then again after x confirmations. What would you say is the most efficient way to do this? I am familiar with mysql/php if that helps.

Also, is best practice to have bitcoind running on a home pc thats on 24/7 and have calls to it from the shared server, or should the bitcoind be installed on that server as well? Does it make much of a difference?

any input is appreciated.
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!