Cosmetic changes.

This commit is contained in:
Arthur Britto
2012-04-24 14:47:58 -07:00
parent 65126360c9
commit f24a43bb7a
6 changed files with 16 additions and 16 deletions

View File

@@ -120,4 +120,4 @@ Json::Value ConnectionPool::getPeersJson()
return ret;
}
// vim:ts=4

View File

@@ -39,3 +39,4 @@ public:
};
#endif
// vim:ts=4

View File

@@ -70,7 +70,6 @@ void Peer::connected(const boost::system::error_code& error)
detach();
std::cout << "Peer::connected Error: " << error << std::endl; //else BOOST_LOG_TRIVIAL(info) << "Error: " << error;
}
}
void Peer::sendPacketForce(PackedMessage::pointer packet)
@@ -600,7 +599,6 @@ PackedMessage::pointer Peer::createValidation(Ledger::pointer ledger)
valid->set_sig(sig.begin(), sig.GetSerializeSize());
valid->set_hanko(theConfig.HANKO);
PackedMessage::pointer packet=boost::make_shared<PackedMessage>
(PackedMessage::MessagePointer(valid), newcoin::VALIDATION);
return(packet);
@@ -687,7 +685,6 @@ void Peer::receiveTransaction(TransactionPtr trans)
void Peer::receiveProposeLedger(newcoin::ProposeLedger& packet)
{
theApp->getLedgerMaster().checkLedgerProposal(shared_from_this(), packet);
}
@@ -701,7 +698,7 @@ void Peer::connectTo(KnownNode& node)
tcp::endpoint endpoint( address::from_string(node.mIP), node.mPort);
mSocket.async_connect(endpoint,
boost::bind(&Peer::connected, this, boost::asio::placeholders::error) );
}
#endif
// vim:ts=4

View File

@@ -102,3 +102,4 @@ public:
};
#endif
// vim:ts=4

View File

@@ -33,4 +33,4 @@ void PeerDoor::handleConnect(Peer::pointer new_connection,
startListening();
}
// vim:ts=4

View File

@@ -19,3 +19,4 @@ class PeerDoor
public:
PeerDoor(boost::asio::io_service& io_service);
};
// vim:ts=4