Bitcoin Forum
May 11, 2024, 08:56:08 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How can I generate an offline transaction using Java?  (Read 1268 times)
ripper234 (OP)
Legendary
*
Offline Offline

Activity: 1358
Merit: 1003


Ron Gross


View Profile WWW
December 31, 2011, 05:12:39 AM
 #1

http://bitcoin.stackexchange.com/questions/2357/how-do-i-generate-offline-transactions-in-java

Can anyone help?

Please do not pm me, use ron@bitcoin.org.il instead
Mastercoin Executive Director
Co-founder of the Israeli Bitcoin Association
1715417768
Hero Member
*
Offline Offline

Posts: 1715417768

View Profile Personal Message (Offline)

Ignore
1715417768
Reply with quote  #2

1715417768
Report to moderator
1715417768
Hero Member
*
Offline Offline

Posts: 1715417768

View Profile Personal Message (Offline)

Ignore
1715417768
Reply with quote  #2

1715417768
Report to moderator
1715417768
Hero Member
*
Offline Offline

Posts: 1715417768

View Profile Personal Message (Offline)

Ignore
1715417768
Reply with quote  #2

1715417768
Report to moderator
Each block is stacked on top of the previous one. Adding another block to the top makes all lower blocks more difficult to remove: there is more "weight" above each block. A transaction in a block 6 blocks deep (6 confirmations) will be very difficult to remove.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715417768
Hero Member
*
Offline Offline

Posts: 1715417768

View Profile Personal Message (Offline)

Ignore
1715417768
Reply with quote  #2

1715417768
Report to moderator
1715417768
Hero Member
*
Offline Offline

Posts: 1715417768

View Profile Personal Message (Offline)

Ignore
1715417768
Reply with quote  #2

1715417768
Report to moderator
jim618
Legendary
*
Offline Offline

Activity: 1708
Merit: 1066



View Profile WWW
December 31, 2011, 11:41:43 AM
Last edit: December 31, 2011, 11:53:51 AM by jim618
 #2

Andreas Schildbach (Android Bitcoin Wallet) has done some work on creating offline transactions using bitcoinj.

He posted about it here:
http://groups.google.com/group/bitcoinj/browse_thread/thread/a043ad96ebb2401a

He produces QR code representations of the transaction and has proposed a protocol 'btctx' for them.
I have put some test code in MultiBit to read the QR codes he generates and then fire them off to the bitcoin network and that works ok.

He has made some refinements to do with compression of the transactions so you might want to contact him directly - he has an account in bitcointalk as 'Goonie'.

His code is open source and I am sure he would not mind you reusing it.

MultiBit HD   Lightweight desktop client.                    Bitcoin Solutions Ltd   Bespoke software. Consultancy.
ripper234 (OP)
Legendary
*
Offline Offline

Activity: 1358
Merit: 1003


Ron Gross


View Profile WWW
December 31, 2011, 02:29:22 PM
 #3

Andreas Schildbach (Android Bitcoin Wallet) has done some work on creating offline transactions using bitcoinj.

He posted about it here:
http://groups.google.com/group/bitcoinj/browse_thread/thread/a043ad96ebb2401a

He produces QR code representations of the transaction and has proposed a protocol 'btctx' for them.
I have put some test code in MultiBit to read the QR codes he generates and then fire them off to the bitcoin network and that works ok.

He has made some refinements to do with compression of the transactions so you might want to contact him directly - he has an account in bitcointalk as 'Goonie'.

His code is open source and I am sure he would not mind you reusing it.

Thanks, I'll have a look.

Please do not pm me, use ron@bitcoin.org.il instead
Mastercoin Executive Director
Co-founder of the Israeli Bitcoin Association
netrin
Sr. Member
****
Offline Offline

Activity: 322
Merit: 251


FirstBits: 168Bc


View Profile
December 31, 2011, 06:19:38 PM
 #4

Also, I believe Puik released much of his Java code, but most of his key handling is actually client-side in JS.

Greenlandic tupilak. Hand carved, traditional cursed bone figures. Sorry, polar bear, walrus and human remains not available for export.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!