Bitcoin Forum
November 04, 2024, 07:34:18 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: interoperability of bitcoinJ's micropayment channel API  (Read 1117 times)
jargal (OP)
Newbie
*
Offline Offline

Activity: 53
Merit: 0


View Profile
July 01, 2016, 09:52:58 AM
Last edit: July 01, 2016, 10:10:04 AM by jargal
 #1

Hello,

I am working on setting up a Micropayment Channel (MC) between a small-scale, router-like device (the client) and a full blown computer (server).

I thought of using bitcoinJ on the side of the computer since it is AFAIK the only library that implements MPC, and I m glad not to reinvent the wheel. Since no JVM on the small-scale device side, I ll build from scratch the MPC using some other library (suggestions welcome).

Is interoperability bw each side of the MPC going to be an issue according to you? What does it entail?

I ask that because I saw from the BitMesh project, for instance, that :
"[they] modified payment channels quite a bit, the .proto file and the bitcoinj and bitcore code so they could interoperate. We modified Bitcoinj payment channels to use P2SH, not raw-multisig, and bitcore uses the more extensive conversation defined in bitcoinj."
and I am not exactly able to understand the full meaning of this short comment yet.

I will welcome v. much all advice Smiley.

Thank you
hexafraction
Sr. Member
****
Offline Offline

Activity: 392
Merit: 268

Tips welcomed: 1CF4GhXX1RhCaGzWztgE1YZZUcSpoqTbsJ


View Profile
July 01, 2016, 09:22:56 PM
 #2

Have you looked at the BitcoinJ source itself yet? As I would understand if you can replicate the needed logic and protobuf serialization (or better, get a protobuf to actually build for your non-JVM device) it should interoperate properly.

I have recently become active again after a long period of inactivity. Cryptographic proof that my account has not been compromised is available.
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!