Search content
Sort by

Showing 20 of 190 results by codler
Post
Topic
Board Development & Technical Discussion
Topic OP
How to read wallet.dat in PHP?
by
codler
on 23/03/2014, 17:23:38 UTC
I am trying to read content of wallet.dat in PHP and I have search around and it seems surprisingly no one has mention it before.

I have this code which I am trying to loop around all the key/values in wallet.dat but I only get one key, "main". I guess main seems to be logical db name. ( https://github.com/bitcoin/bitcoin/blob/v0.9.0/src/db.cpp#L260 ) Do anyone know why it only finds main and not other key/values? The wallet is unencrypted.

Code
Code:
print_r(dba_handlers(true));

$id dba_popen("wallet.dat""r""db4");

if (!
$id) {
    echo 
"dba_open failed\n";
    exit;
}

$key dba_firstkey($id);
$keys = array();
while (
$key != false) {
    
$value dba_fetch($key$id);
    
$keys[] = array($key$value);
    
$key dba_nextkey($id);
}

print_r($keys);

dba_close($id);

Output
Code:
Array
(
    [db4] => Berkeley DB 4.8.24: (August 14, 2009)
)
Array
(
    [0] => Array
        (
            [0] => main
            [1] => 
        )

)

I ran this in XAMPP 1.7.3 which has PHP 5.3.1 and php_dba.dll
Post
Topic
Board Gambling
Re: [TOP] InsWeb: InsDice.US | +Dice 1% H.E | +Realtime Ponzi 120% PAID 108.019 BTC!
by
codler
on 10/02/2014, 06:33:06 UTC
Don't worry, with ponzi.io you aren't guaranteed to get back your money.
At insdice it's guaranteed.
Today I will set auto payout ready with some cool features.
And ponzi will go faster.

Sounds awesome!
Post
Topic
Board Gambling
Re: [TOP] InsWeb: InsDice.US | +Dice 1% H.E | +Realtime Ponzi 120% PAID 108.019 BTC!
by
codler
on 09/02/2014, 23:11:17 UTC
This great game should never end Smiley
Post
Topic
Board Investor-based games
Re: Ponzi.io - Fast, Guaranteed 120% Payouts
by
codler
on 09/02/2014, 09:02:54 UTC
Great game
Post
Topic
Board Services
Re: 0.4 BTC / month free (Best payouts - NO POSTING NEEDED & Updated :)
by
codler
on 17/10/2013, 17:54:20 UTC
Payment received, Thanks!
Post
Topic
Board Services
Re: 0.4 BTC / month free (Best payouts - NO POSTING NEEDED & Updated :)
by
codler
on 11/09/2013, 20:12:14 UTC
Thank you TF! I received the payout!
Post
Topic
Board Services
Re: 0.4 BTC / month free (Best payouts - NO POSTING NEEDED & Updated :)
by
codler
on 09/09/2013, 16:18:54 UTC
I havent received any either
Post
Topic
Board Service Announcements
Re: Inputs.io | Instant Payments | Easy API | Secure Wallet | Offchain | No fees
by
codler
on 09/08/2013, 18:05:29 UTC
Any plans to support litecoin?
Post
Topic
Board Services
Re: 0.4 BTC / month free (Best payouts - NO POSTING NEEDED & Updated :)
by
codler
on 08/08/2013, 12:12:45 UTC
1v.io/codler
Post
Topic
Board Skandinavisk
Re: [ANN] Justcoin (Norway) NOK/EUR - BTC/LTC/XRP
by
codler
on 07/08/2013, 08:29:02 UTC
Varför måste man verifiera med sin telefon?
Post
Topic
Board Altcoin Discussion
Re: Ripple Giveaway!
by
codler
on 06/08/2013, 22:21:37 UTC
rw9rUTky3ur5fokueYoiQAoKji9nFL7qrc
Post
Topic
Board Exchanges
Re: MtGox withdrawal delays [Gathering]
by
codler
on 30/07/2013, 16:25:15 UTC
Post
Topic
Board Exchanges
Re: MtGox withdrawal delays [Gathering]
by
codler
on 30/07/2013, 15:47:54 UTC
Today I got my SEPA withdrawal from 2013-05-30
Post
Topic
Board Games and rounds
Re: BTCJam forum name verification
by
codler
on 16/07/2013, 16:29:53 UTC
'I want to link my Bitcointalk name with BTCJam's. Verification code: 059ef3ef-f6dc-4a48-a428-8afc4c524d00'
Post
Topic
Board Exchanges
Re: MtGox withdrawal delays [Gathering]
by
codler
on 15/07/2013, 16:20:21 UTC
I have waited more than 7weeks now.
Post
Topic
Board Currency exchange
Re: [WTB] BTC for Skrill
by
codler
on 12/04/2013, 19:29:43 UTC
bump
Post
Topic
Board Currency exchange
Re: [WTB] BTC for Skrill
by
codler
on 11/04/2013, 15:48:09 UTC
bumb
Post
Topic
Board Currency exchange
Re: [ WTS ] 0.11 BTC - for Moneybookers Funds $25 USD
by
codler
on 09/04/2013, 15:54:32 UTC
Post
Topic
Board Currency exchange
Re: [WTB] BTC for Skrill
by
codler
on 08/04/2013, 15:55:31 UTC
still buying
Post
Topic
Board Currency exchange
Re: [WTB]BTC/mtgoxUSD for Moneybookers, Neteller, Bank transfer Norway,Pokerstars+++
by
codler
on 07/04/2013, 12:25:07 UTC
Quick and good trader!