How exactly can I generate a transaction id?

I’d like to create a transaction object from scratch. I’ve read that the tx id for a transaction is the double SHA-256 hash of a serialized transaction, but havent been able to find details on exactly how the data is formatted before its serialized or how it is serialized for that matter.

Could someone, perhaps, provide an example of how the data is organized before it’s serialized and/or describe the manner of serialization taking place?

Print wallet.dat with base64

I just wanted to ask If it makes sense if I want to print out my wallet.dat to encode it with base64?

I also read that the backup would become useless, if I get any receivements or make deposits and I would have to print out the wallet.dat again?

I would like to encode my wallet.dat with base64, print it and hide it in safe.

when my laptop breaks down and my other backups are also damaged (why every), i could scan my printed wallet.dat with OCR, decode it with base64 and just load it into the normal bitcoin client?

does this sound correct?
or are there any things I’m missing?

I dont want to rely on other software, no other web apps or key/password generators…

jsonRPCClient Error with php variables

I am trying to run the following code

$betamount=$_POST['bet']; 
$litecoin->move($myusername,Admin,$betamount);

but it will not work. it does however work when i replace $betamount with an actual number ie

$litecoin->move($myusername,Admin,0.2);

or

$betamount=0.1; 
$litecoin->move($myusername,Admin,$betamount);

any ideas on whats going wrong ? the $_POST[‘bet’] is defiantly a number because i have tried multiplying in php and it all works fine.

Can a Qubit Miner ASIC device be created and what would its impact be on the mining community?

With mining gaining in popularity every day and the raw power of the ASIC devices increasing at a dramatic rate, I wonder what is the next big jump for miners.

Qubits, or quantum bits, have already shown to be extremely fast at calculations. That makes them seem like a perfect fit for mining bitcoins.

This question is asking if a qubit device can be created for mining bitcoins and, if so, how it would affect the current mining community using standard zeros and ones. To ask this another way…

How much faster would a qubit device mine bitcoins when compared to an existing ASIC device today? Let’s compare it to ButterflyLab’s Mini Rig which runs at 500 GH/s. Ten, hundreds, thousands, millions times faster? Could quibit devices destroy the bitcoin network by controlling more than 51% of the network?

How does the network know my current balance?

Maybe I haven’t yet fully understood how transactions work. And if so, please forgive me my stupid question.

But I assume it to be "just" a digitally signed message like "send 1 BTC to Bob" where Bob is identified by its public key (of course obeying to some protocol). The transaction is then signed with my private key which prevents later modification and then sent to the network for hashing and block-building…

I’m not sure how Bob is notified of the transaction.
Does his client software really have to parse the block chain to find the transaction where his public key is listed?

And even more interesting is the question how the sender of the money is restricted to only send as much money as they have? Is this all managed by the Bitcoin client?
If so, I could write my own software which just uses the (or: any) amount of (Bitcoin) money together with the recipient’s public key and build the transaction ASN specified somewhere in the protocol.
Who checks the balance and when is it checked?
Does my Bitcoin client fully dive into the block chain and calculates the balance?
Is this then trusted by the network?
Or does the network (e.g. when building and hashing the block) also a verification of all the public keys from their first transactions on?