Commit Graph

12 Commits

Author SHA1 Message Date
JoelKatz
639ba9dfcb NetworkOPs layer
Begin coding the 'NetworkOPs' layer. This will provide most of the
functions 'client' code will want to call such as functions to lookup
transactions, check on their status, get balances, and so on. Much of the
RPC layer will be a thin wrapper over these functions.

The purpose of this layer is to permit the node to support these functions
regardless of its operating mode or available data, as long as it's
connected to the network. If synchronized and tracking the current ledger,
it can do most functions locally. If not, it can ask for help from other
nodes. If hopeless, it can return an error code.
2011-12-15 01:19:50 -08:00
JoelKatz
0b25b9641f Fire up the initial ledgers and attach them to the application. 2011-12-13 21:54:17 -08:00
JoelKatz
75c6528f27 Cleanups. 2011-12-12 15:52:53 -08:00
JoelKatz
5cd97c2930 Bring up to date. 2011-12-06 21:40:26 -08:00
JoelKatz
10ca256063 Updates. 2011-11-29 11:23:53 -08:00
JoelKatz
75f1eb80a4 Make these pieces work together. 2011-11-28 19:33:50 -08:00
JoelKatz
9eb8188627 Update 2011-11-25 13:52:33 -08:00
JoelKatz
4625a55c25 Fixes. 2011-11-14 19:48:49 -08:00
JoelKatz
e9ae645e3b Transaction Infrastructure Work:
Raw account class (address + public key)
Account State class (account + balance + ledgers valid)
Raw Hanko class
Low-level tranasaction class
Small wallet and key bits
Misc updates to the protocol.
Protocol addition to allow code to wait for replies, but that may not be a good idea.
2011-11-11 14:13:25 -08:00
JoelKatz
df2734142b Makefile updates 2011-11-08 10:00:38 -08:00
JoelKatz
1d140e8829 Sync Linux tweaks. 2011-11-07 13:45:32 -08:00
JoelKatz
beef9b47d5 Create 'Makefile'. Make code compile on Linux. (Still does not link.)
Changes include:
Passing objects through ... is a no no.
Don't include windows.h on non-Windows
_vsnprintf doesn't exist on non-Windows
A map's first type is const, so a lot of code had to be changed from 'uint160&' to 'const uint160&'
itoa not available on non-Windows
Fix macro silliness when a parameter to a macro contains a comma.
<: is a digraph, so don't use "...shared_ptr<::google::..."
Must match filename case
Add const-correct 'escape' function to SqliteDatabase
Add const-correct 'begin' function to uint160
2011-11-07 13:18:13 -08:00