Commit Graph

5 Commits

Author SHA1 Message Date
HackFisher 6ab7d95f40 use built-in count_ones() instead of custom impl 2020-07-11 00:02:54 +08:00
HackFisher af099f3558 optimize leaf_index_to_mmr_size and leaf_index_to_pos 2020-07-10 20:22:24 +08:00
jjy 1ae98055d0 refactor: remove failure and f64 for no_std 2020-01-17 17:05:58 +08:00
jjy 1374825778 feat: support no_std 2020-01-17 13:26:05 +08:00
jjy c1211d2ca9 Init merkle-mountain-range
The MMR code is copy from https://github.com/nervosnetwork/ckb/pull/1598
2019-09-19 16:26:17 +08:00