This repository has been archived by the owner on Feb 21, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #68 from vikramrajkumar/btsx
Merge upstream
- Loading branch information
Showing
43 changed files
with
818 additions
and
372 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,24 @@ | ||
[submodule "vendor"] | ||
path = vendor | ||
url = https://github.com/BitShares/vendor.git | ||
ignore = dirty | ||
[submodule "libraries/fc"] | ||
path = libraries/fc | ||
url = https://github.com/InvictusInnovations/fc.git | ||
ignore = dirty | ||
[submodule "programs/web_wallet"] | ||
path = programs/web_wallet | ||
url = https://github.com/dacsunlimited/web_wallet.git | ||
ignore = dirty | ||
[submodule "programs/qt_wallet"] | ||
path = programs/qt_wallet | ||
url = https://github.com/dacsunlimited/qt_wallet.git | ||
ignore = dirty | ||
[submodule "libraries/leveldb"] | ||
path = libraries/leveldb | ||
url = https://github.com/bitcoin/leveldb.git | ||
ignore = dirty | ||
[submodule "programs/btsx_bots"] | ||
path = programs/btsx_bots | ||
url = https://github.com/freetradebots/btsx_bots | ||
ignore = dirty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"timestamp" : "20140916T000000", | ||
"timestamp" : "20140924T000000", | ||
"market_assets": [ | ||
{ | ||
"symbol": "PTS", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
#pragma once | ||
|
||
#define BTS_MAIL_INVENTORY_FETCH_LIMIT 4096 | ||
#define BTS_MAIL_MAX_MESSAGE_SIZE_BYTES (1024*1024) | ||
#define BTS_MAIL_MAX_MESSAGE_AGE (fc::minutes(5)) | ||
#define BTS_MAIL_PROOF_OF_WORK_TARGET (fc::ripemd160("000000fffdeadbeeffffffffffffffffffffffff")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#pragma once | ||
|
||
#include <fc/exception/exception.hpp> | ||
|
||
namespace bts { namespace mail { | ||
FC_DECLARE_EXCEPTION(mail_exception, 70000, "Mail Exception"); | ||
FC_DECLARE_DERIVED_EXCEPTION(timestamp_too_old, mail_exception, 70001, "timestamp too old"); | ||
FC_DECLARE_DERIVED_EXCEPTION(timestamp_in_future, mail_exception, 70002, "timestamp in future"); | ||
FC_DECLARE_DERIVED_EXCEPTION(invalid_proof_of_work, mail_exception, 70003, "invalid proof-of-work"); | ||
FC_DECLARE_DERIVED_EXCEPTION(message_too_large, mail_exception, 70004, "message too large"); | ||
FC_DECLARE_DERIVED_EXCEPTION(message_already_stored, mail_exception, 70005, "message already stored"); | ||
} } // namespace bts::mail |
Oops, something went wrong.