Removed file syncing of the log file. This was a huge performance bottleneck, and logging is not important enough to justify waiting until the log file gets written to physical disk.
Change the Lock and Commit messages to become channel messages. The payload will become the updated Bitcoin transaction.
Make an adjusted Bitcoin transaction on locking and committing