February, 2019 - Dev Update
The goal of bitcoin is to get lots of utxos, earning a high score.
This month, Philipp and I attended 2019's The Financial Cryptography and Data Security Conference in St Kitts. It was a fun, exciting and inspiring week. The people I met were not only incredibly smart but also highly motivated to do real research and invent new things.
Our humble contribution to the conference was a poster which demonstrates how you can do atomic swaps without the option problem.
The presentations that were most relevant to my interests were:
- Surya Bakshi presenting Sprites and State Channels: Payment Networks that Go Faster than Lightning
- Rafael Dowsley presenting ROYALE: A Framework for Universally Composable Card Games with Financial Rewards and Penalties Enforcement
- Peter Wuille on the History of Schnorr Signatures in Bitcoin (slides)
- Dionysis Zindros on Proof of Work Side chains using NIPoPoWs.
- Adithya Bhat on how to replicated credit networks like Ripple on Ethereum (slides)
Back in Sydney, things were moving quickly as usual. Most significantly, Lucas made a mega refactoring PR. Its goal was to re-engineer the HTTP API so we expose more information and with a better structure. Here's what it looks like now:
But he ended up refactoring half the code base. In the end, he managed to add the new feature while still deleting more lines of code than he added!
Franck did some investigation on how we can add Omnilayer tokens to COMIT.
Thomas did the final work to use Ethereum transaction receipt logs to track events in our HTLC contracts on Ethereum rather than relying the raw transaction data. This will hopefully secure our protocol to ensure that the secret is always recovered when a redeem happens.
In other news, we renamed our thing that watches the blockchains from Ledger Query Service to "BtSieve" (Block and Transaction Sieve)
Cheers,
— Lloyd (@LLFourn)
Interesting Happenings
- MIT DCI's Cryptocurrency Research Review #2.
- Also from the DCI (in December) there was a interview with Tadge Dryja on Utreexo
- Simone did a presentation on atomic swaps in COMIT at a Meetup in Vicenza, Italy. Photos can be found on twitter
- Thomas wrote a blog post about refactoring code.
- Scaling Bitcoin will be in Tel Aviv this year.
Here are the issues that were done during our sprints this month. We've moved to two-week sprints so we have only two sprints per month. You can see waffle for crazy charts and more info.
Sprint 8
- (27) Rename file
COMIT-registry.md
toregistry.md
- (26) ERC20 example in RFC002 is missing
address
- (24) Document RFC process (meeting notes)
- (16) Revisit RFC001
- (10) [RFC-001] Define semantics of unexpected body
- (747) ⚗️ Find a good name for LQS
- (743) Fix RLP encoding error
- (740) Random RLP encoding failure
- (727) LQS client test is not testing correctly
- (717) use bitcoin_support::Blocks type...
- (711) get level from config file once implemented with #136...
- (697) Install sccache from crates.io again
- (694) ⚗️ Minimalistic UI
- (679) Use absolute timelocks in HTLCs
- (668) Implement the noise handshake protocol
- (609) All swap parameters should be set by Alice
- (593) Dry test needs to be split up
- (584) Log 500 errors
- (319) Don't block thread when making new connection in BamClientPool
Sprint 9
- (789) Fix warning in build process
- (781) Get the actual asset out of response from btsieve...
- (777) GET /swaps/rfc003/:id does not return transaction IDs
- (775) Polish swap response in HTTP API
- (770) Fix up "WIP" for mergify/wafflebot
- (768) Remove "regtest" definition from JS test suite
- (765) Don't unwrap in constructor of
SwapDescription
- (763) Deployment and funding transactions not always available
- (756) A significant Refactor of Ledger Query Service Client
- (750) Resolve TODO
- (749) Rename ledger_query_service to btsieve
- (739) ⚗️Libp2p to replace network layer?
- (734) Travis doesn't run Rust Doc-tests
- (723) return TransactionReceipt and not Transaction.
- (700) Decide what happens when response fails to deserialize...
- (699) All of this should be under #[cfg(test)]...
- (693) Extend response of HTTP GET for a single swap
- (691) Transfer omnicoins via HTLC or Multi-input Tx
- (665) ⚗️ How to realize same chain trades on Ethereum
- (639) Extract secret from transaction receipt
- (638) ERC20/ETH Htlc log needs to emit secret
- (463) Rename bitcoin/ethereum/secp256k1 crates