Commit Graph

13828 Commits

Author SHA1 Message Date
Arthur Britto
d861cf5719 Add support for detecting NULL entires to sqlite. 2012-04-13 20:40:25 -07:00
JoelKatz
a5e8afa228 Small cleanups. 2012-04-13 20:19:21 -07:00
JoelKatz
f05d6e0642 Rename SerializedLedger to SerializedLedgerEntry. It's not a whole ledger. 2012-04-13 20:07:57 -07:00
JoelKatz
a4ae83c6fe Make style right. 2012-04-13 19:27:19 -07:00
JoelKatz
12b5eb5991 Skeleton, for comments. 2012-04-13 16:55:11 -07:00
JoelKatz
a3c0661451 A simplification. 2012-04-13 16:29:42 -07:00
JoelKatz
f5464e02b6 Unit test framework. 2012-04-12 23:41:32 -07:00
JoelKatz
9f58a4bfbf Cleanups. 2012-04-12 23:23:14 -07:00
JoelKatz
d8a284f129 Cleanups. 2012-04-12 23:22:44 -07:00
JoelKatz
498aba272f Fixes and cleanups. 2012-04-12 23:22:13 -07:00
JoelKatz
f354f1578a Missing from previous commit. 2012-04-12 16:02:33 -07:00
JoelKatz
9fa335af63 Update to 32-bit flags. A few serialized transaction fixes. 2012-04-12 16:02:20 -07:00
JoelKatz
519a1c9a1d Native currency scaling. 2012-04-12 06:06:48 -07:00
JoelKatz
e42084d496 Warning, this is not the current design. It will be fixed to use the
new STAmount code.
2012-04-12 05:21:03 -07:00
Arthur Britto
f4e4ef5bc9 Update to sqlite 3.7.11 2012-04-11 23:47:02 -07:00
Arthur Britto
a7493aea2f Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-04-11 23:46:07 -07:00
JoelKatz
6aeded3863 Missing commit. 2012-04-11 23:38:07 -07:00
Arthur Britto
5492c62703 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-04-11 23:36:57 -07:00
JoelKatz
1c895a593d Sync. 2012-04-11 14:59:31 -07:00
JoelKatz
ded4d19a65 Optimize / operation. 2012-04-11 14:24:22 -07:00
JoelKatz
efd363538c Fix some special cases. Cleanup whitespace. 2012-04-11 12:32:41 -07:00
JoelKatz
dc8889668a Simplification. 2012-04-11 12:25:09 -07:00
JoelKatz
b771a11836 A 1/3 lsb offset is needed to make the multiplication round down correctly. 2012-04-11 00:27:49 -07:00
JoelKatz
48fe991cdb Rounding fix. 2012-04-10 17:00:40 -07:00
JoelKatz
e61ddb980e Off by one error. 2012-04-10 16:51:00 -07:00
JoelKatz
db2846547f Missed one special cast. 2012-04-10 16:47:17 -07:00
JoelKatz
c1cd616359 Always display these exactly. 2012-04-10 16:46:41 -07:00
JoelKatz
ce30701744 Code to compute how much you need to pay to get a particular output from an offer. 2012-04-10 16:04:28 -07:00
JoelKatz
6bf6d86cd9 Offer logic seems to be working now. 2012-04-10 15:26:44 -07:00
JoelKatz
22d3354ccc Typo. 2012-04-10 14:37:20 -07:00
JoelKatz
7ebd7a1845 Cleanups, add comments, some fixes. 2012-04-10 14:36:53 -07:00
JoelKatz
ad1ae6af23 Fix mishandling of zero values. Must add to unit test! 2012-04-10 13:22:16 -07:00
JoelKatz
b093110890 Fixes. 2012-04-10 13:11:20 -07:00
Arthur Britto
95adce1baf Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-04-10 12:18:24 -07:00
JoelKatz
3cac1416ae Ignore editor backups. 2012-04-09 21:50:43 -07:00
JoelKatz
4f163947d9 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-04-09 21:15:08 -07:00
JoelKatz
b2b30ef0e6 Typo. 2012-04-09 21:14:47 -07:00
JoelKatz
005ea61f9b All currency operations except the three weirdest ones for exchanges. 2012-04-09 21:00:27 -07:00
Arthur Britto
79ccc827b3 Initial check in of scripts for managing testing hosts. 2012-04-09 20:47:01 -07:00
Arthur Britto
0a1cd82ee0 Have git ignore bin/newcoind. 2012-04-09 20:44:16 -07:00
JoelKatz
fcdf42e799 Promote 'amounts' to a new type. Codify storage format, both internal
and serialized. Define operators.
2012-04-09 19:36:51 -07:00
JoelKatz
3e91ddc6d7 Currency work. 2012-04-09 03:59:36 -07:00
JoelKatz
1402d99a3d Continue currency work. 2012-04-09 03:59:23 -07:00
JoelKatz
f085cc4a65 Base structures for currencies. 2012-04-09 02:51:20 -07:00
JoelKatz
b4f1aa0e47 Missing 'const' 2012-04-08 19:57:32 -07:00
JoelKatz
28d870e7f9 Finish the serialized ledger classes. 2012-04-08 19:57:22 -07:00
JoelKatz
21bb574e96 Having a function in a base class that's widely overloaded called 'getType'
is a bad idea. Change it to 'getSType'.
2012-04-08 19:56:48 -07:00
Arthur Britto
f84b2b3cf1 Cosmetic changes. 2012-04-08 17:19:13 -07:00
Arthur Britto
746d3c7ab1 Fix endianness for rfc1751. 2012-04-08 17:05:15 -07:00
JoelKatz
d7669944de Ability to compare serialized types. 2012-04-08 16:33:28 -07:00