Open killerstorm opened 11 years ago
interested in helping out with this. Is there some kind of specification for the p2ptrade protocol?
Here's a brief description: https://github.com/bitcoinx/colored-coin-tools/wiki/p2ptrade
I've already implemented the basic form of it (see here), it works in the sense it is possible to trade, but it is incomplete: it doesn't do all checks.
These checks require understanding of coloredcoinlib's internals, so I'd rather implement them myself.
However, there are various improvements to p2ptrade which we plan to implement:
Would you like to implement something from this list? Some of these improvements are fairly self-contained, other ones require changes to internals and research/design...
I'll probably start out with (1) to familiarize myself with the codebase a bit, but I'd like to explore 2 & 3 as well. In terms of other communications channels I think it would be interesting to consider a DHT (e.g. Kademlia) based design for higher network scalability. In any case it's something I'll be thinking about. At the moment I'm in exams at school so its unlikely I'll be able to get started for about a week, though.
just submitted a pull request to finish up test_basic to familiarize myself with the code. I'll be on IRC later tonight.
I've started implementing a generalized order matching engine, with the goal of supporting partial fills as well as scalability for high order volume and many asset pairs. It should be easy to integrate into the p2ptrade agent when it is done.
Code is here: https://github.com/amidvidy/multimatch
What's the plan for p2ptrade? I don't know how we plan on distributing the EOffer and the EProposal objects. I assume it won't go over the bitcoin protocol, right? So we'll be setting up our own network of nodes?