Commit Graph

7 Commits

Author SHA1 Message Date
ShadowNinja
708337dfc2 Clean up database API and save the local map on an interval 2015-03-06 00:20:45 -05:00
ShadowNinja
41bc24477b Revert binary database block position encoding
This reverts commits a2003b0d553c7223a61c75e5dad79ea68e058ba2 and 54ffe2e5de9ce44129f84f4748743f893b75fda7.

These weren't correct.  Add a black magic warning instead.
2014-04-23 15:39:33 -04:00
ShadowNinja
a2003b0d55 Use bit shifts rather than multiplication in block position encoding 2014-04-15 16:25:46 -04:00
ShadowNinja
54ffe2e5de Use binary operators rather than "Python modulo" in decoding block positions 2014-04-15 16:09:15 -04:00
ShadowNinja
18577f2527 Replace usage of long long with u64/s64 2014-03-12 19:37:19 -04:00
Kahrl
95e4a93b1b Add license headers and remove useless includes 2013-09-10 16:09:30 +02:00
Ilya Zhuravlev
58841ef12f Add dummy and LevelDB database backends 2013-09-09 22:50:50 +02:00