]> Git Repo - VerusCoin.git/commitdiff
minor style cleanup after HTTP rest interface merge
authorPhilip Kaufmann <[email protected]>
Wed, 19 Nov 2014 09:53:46 +0000 (10:53 +0100)
committerPhilip Kaufmann <[email protected]>
Thu, 20 Nov 2014 11:29:19 +0000 (12:29 +0100)
- no code changes

src/key.h
src/rest.cpp

index 0bb05482c9ceb7b41ded3ba599c03de4f0108b28..a58cab45ecbda9b51cfbc7ef1e3e7bae5386f70b 100644 (file)
--- a/src/key.h
+++ b/src/key.h
 #include <stdexcept>
 #include <vector>
 
-struct CExtPubKey;
 class CPubKey;
 
+struct CExtPubKey;
+
 /** 
  * secp256k1:
  * const unsigned int PRIVATE_KEY_SIZE = 279;
index 9a8793a5173abac81e5b6d406d3b39c28821b768..122b361719fb0d7fb2739cf36fc39d94350c5369 100644 (file)
@@ -1,17 +1,18 @@
 // Copyright (c) 2009-2010 Satoshi Nakamoto
-// Copyright (c) 2009-2012 The Bitcoin developers
-// Distributed under the MIT/X11 software license, see the accompanying
+// Copyright (c) 2009-2014 The Bitcoin developers
+// Distributed under the MIT software license, see the accompanying
 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
 
-#include <boost/algorithm/string.hpp>
-#include "rpcserver.h"
-#include "streams.h"
-#include "utilstrencodings.h"
 #include "core/block.h"
 #include "core/transaction.h"
-#include "version.h"
 #include "main.h"
+#include "rpcserver.h"
+#include "streams.h"
 #include "sync.h"
+#include "utilstrencodings.h"
+#include "version.h"
+
+#include <boost/algorithm/string.hpp>
 
 using namespace std;
 using namespace json_spirit;
@@ -163,7 +164,7 @@ static bool rest_tx(AcceptedConnection *conn,
         string strJSON = write_string(Value(objTx), false) + "\n";
         conn->stream() << HTTPReply(HTTP_OK, strJSON, fRun) << std::flush;
         return true;
-     }
+    }
     }
 
     // not reached
@@ -203,4 +204,3 @@ bool HTTPReq_REST(AcceptedConnection *conn,
     conn->stream() << HTTPError(HTTP_NOT_FOUND, false) << std::flush;
     return false;
 }
-
This page took 0.027848 seconds and 4 git commands to generate.