lightning 0.0.6

A Bitcoin Lightning library in Rust. Does most of the hard work, without implying a specific runtime, requiring clients implement basic network logic, chain interactions and disk storage. Still missing tons of error-handling. See GitHub issues for suggested projects if you want to contribute. Don't have to bother telling you not to use this for anything serious, because you'd have to build a client around it to even try.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <stdint.h>
#include <stdlib.h>

uint32_t rust_crypto_util_fixed_time_eq_asm(uint8_t* lhsp, uint8_t* rhsp, size_t count) {
	if (count == 0) {
		return 1;
	}
	uint8_t result = 0;
	for (size_t i = 0; i < count; i++) {
		result |= (lhsp[i] ^ rhsp[i]);
	}
	return result;
}