From 54f9ddf0142098dbb963306213e9113e5bf9e1eb Mon Sep 17 00:00:00 2001 From: Arthur Britto Date: Fri, 22 Jun 2012 13:21:53 -0700 Subject: [PATCH 1/2] Remove obsolete files. --- debug test.bat | 2 -- notes.txt | 61 -------------------------------------------------- todo.txt | 3 --- 3 files changed, 66 deletions(-) delete mode 100644 debug test.bat delete mode 100644 notes.txt delete mode 100644 todo.txt diff --git a/debug test.bat b/debug test.bat deleted file mode 100644 index 80b7a3718b..0000000000 --- a/debug test.bat +++ /dev/null @@ -1,2 +0,0 @@ -C:\code\newcoin\debug\newcoin stop -pause \ No newline at end of file diff --git a/notes.txt b/notes.txt deleted file mode 100644 index cc30a3789e..0000000000 --- a/notes.txt +++ /dev/null @@ -1,61 +0,0 @@ - -Dependencies: - Boost 1_47 - boost log http://boost-log.sourceforge.net/libs/log/doc/html/log/installation.html // this didn't work immediatly so I stopped messing with it but we should probably use it - protocol buffers: expects ..\protobuf-2.4.1 and ..\protoc-2.4.1-win32 - openssl - sqlite (files are in git. ) - mysql (we don't need this quite yet...) - -Using: - pugixml version 1.0 download new versions at http://pugixml.org/ - This is in the repo. you don't need to get it - - -code from: -// Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) -// -// Distributed under the Boost Software License, Version 1.0. (See accompanying -// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) ----- -// Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2011 The Bitcoin developers -// Distributed under the MIT/X11 software license, see the accompanying -// file license.txt or http://www.opensource.org/licenses/mit-license.php. ----- - - -How much do we want to depend on the DB? Right now we are pulling a lot of stuff out f the DB and storing it in various data structures. but is that necessary? -Can't we keep everything in the DB? - LedgerMaster for example. mFutureTransactions should be in the DB - ValidationCollection -There is some trade off since reconstructing a whole ledger from the DB is a bit intense. So it might be good to cache these in memory. - - - - - - - - -Threads ----- -Main thread - Does all the work. Tasks are given to it through the messageQ -Door thread - Just accepts connections and then hands them off -There is a thread for each peer? - - -Peers are causing: - updates to the current transaction list - updates to the validated list - you to relay messages to other peers - update your known node list - check if a transaction is valid - - -Actualy I think this can all be in one thread. Commands to the app must be done by RPC. - - - diff --git a/todo.txt b/todo.txt deleted file mode 100644 index 2337d27993..0000000000 --- a/todo.txt +++ /dev/null @@ -1,3 +0,0 @@ - - -Remove data from DB when it is too old. From 076cd28ff1c0971e2e6e99edb92d0ad07e800313 Mon Sep 17 00:00:00 2001 From: Arthur Britto Date: Fri, 22 Jun 2012 15:21:11 -0700 Subject: [PATCH 2/2] Add README. --- Issues | 9 --------- README | 6 ++++++ 2 files changed, 6 insertions(+), 9 deletions(-) delete mode 100644 Issues create mode 100644 README diff --git a/Issues b/Issues deleted file mode 100644 index 3773b82bae..0000000000 --- a/Issues +++ /dev/null @@ -1,9 +0,0 @@ - -Issues we know about but have not resolved yet: - -Generate/send session key, sign TCP parameters. This will prevent a -filtering proxy and prevent us from making many connections to the same -node. - -We need a maximum message size. - diff --git a/README b/README new file mode 100644 index 0000000000..41288d8c03 --- /dev/null +++ b/README @@ -0,0 +1,6 @@ +Dependancies: +- boost 1.47 +- Google protocol buffers 2.4.1 +- openssl +- mysql +- websocketpp