Commit graph

10771 commits

Author SHA1 Message Date
Anthony Fieroni
3472ee3eae Style fixes
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2018-06-10 17:34:00 +03:00
Anthony Fieroni
dbdeb1ca48 Migrate old db values, unit tests
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2018-06-10 16:28:08 +03:00
Anthony Fieroni
bba146dc5c Remove depends to boost typeindex
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2018-06-10 16:25:23 +03:00
Anthony Fieroni
5f93875e66 Fix const correctness
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2018-06-10 16:21:37 +03:00
Anthony Fieroni
be9d273817 Implement CClaimTrieDb internal container as vector
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2018-06-06 20:16:18 +03:00
Anthony Fieroni
f35460ea8c Merge https://github.com/lbryio/lbrycrd 2018-05-31 23:29:15 +03:00
Anthony Fieroni
96abb5a115 Merge https://github.com/lbryio/lbrycrd 2018-05-31 23:25:59 +03:00
lbrynaut
995b5a6666 Update doc string for claim's valid_at_height parameter 2018-05-30 12:10:47 -07:00
lbrynaut
4badde8595 Add support information to getclaimbyid rpc 2018-05-30 12:10:47 -07:00
kaykurokawa
6cce052bf7 add a data directory section to README, fix util.cpp comment to list the proper lbrycrd default data directories 2018-05-30 12:08:09 -07:00
Anthony Fieroni
7d321ec0ea Separate disk related functions in CClaimTrieDb
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2018-05-30 19:09:48 +03:00
lbrynaut
df4a86a0df
Merge pull request #147 from bvbfan/openssl-fix
Fix openssl build on 32 bit Linux
2018-05-29 08:15:25 -05:00
kay kurokawa
11f5bf4243 updated version to 0.12.2.0 2018-05-27 22:57:12 -07:00
kay kurokawa
5d22b17af5 fix fPowAllowMinDifficultyBlocks implementation on testnet so that it only affects block 277300 and onwards 2018-05-25 12:02:36 -04:00
Anthony Fieroni
4a2738ddf1 Fix openssl build on 32 bit Linux
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2018-05-25 08:07:15 +03:00
kay kurokawa
4e147cb380 Extend expiration of pre fork claims and supports. Adjust and add unit test for the extended expiration hardfork. 2018-05-24 00:30:07 -04:00
lbrynaut
dc34766423 Implement a hard fork for extended claim expiration times. Added unit tests for extended claim expiration. 2018-05-24 00:30:07 -04:00
lbrynaut
cd10b981b1
Merge pull request #141 from lbryio/fix-testnet-pow
fix fPowAllowMinDifficultyBlocks to work on the testnet
2018-05-21 15:16:24 -05:00
kay kurokawa
fe493bff9e fix fPowAllowMinDifficultyBlocks to work on the testnet 2018-05-21 15:46:10 -04:00
lbrynaut
7930840005 Add a simple claim by id test 2018-05-18 13:15:43 -04:00
lbrynaut
d5df3ff10d Simplify the claim index by reducing the memory cache in exchange for
slightly higher latency calls to leveldb

Add a simple claim by id test
2018-05-18 13:15:43 -04:00
lbrynaut
a0221c3bf7 Add a claim index for fast reference by id 2018-05-18 13:15:43 -04:00
kay kurokawa
c3d315ed49 add information regarding testnet on README 2018-05-16 15:41:17 -04:00
kay kurokawa
e120c1de69 best_claim_effective_amount_equals was not using getEffectiveAmountForClaim 2018-05-14 17:48:50 -04:00
kay kurokawa
6fc7e0860e update version to 0.12.1.2 2018-04-25 15:38:46 -04:00
Victor Shyba
1d071a9998 fix bug in CClaimTrie::getEffectiveAmountForClaim 2018-04-23 13:35:44 -04:00
Victor Shyba
6b13bd1d45 Add tests for CClaimTrie::getEffectiveAmountForClaim 2018-04-23 13:35:44 -04:00
Alex Grin
c0f7584503
Update README.md 2018-04-19 14:55:22 -04:00
Alex Grin
ff07b5b927
Update README.md 2018-04-19 14:54:45 -04:00
kay kurokawa
4e1df4de23 update README 2018-04-18 17:04:43 -04:00
Kay Kurokawa
4ff143387e integrate new CalcMinClaimTrieFee function into the memory pool check and wallet transaction creation.
increase DEFAULT_TRANSACTION_MAXFEE to accomodate the claim trie minimum fee that will exceed 0.1 credits.
2018-04-18 16:54:11 -04:00
Kay Kurokawa
8817a7df51 Add new function CalcMinClaimTrieFee to calulate the fee required for claimtrie transactions 2018-04-18 16:54:11 -04:00
Kay Kurokawa
6f0b24d62d add comment about what recursivePruneName does 2018-04-18 16:24:32 -04:00
Kay Kurokawa
62f4bedb17 add unit test for recursivePruneName and merklehash computation test in claimtriecache_tests.cpp 2018-04-18 16:24:32 -04:00
kay kurokawa
0a2c49911d use specific version 2.0.22 stable of libevent in reproducible builds 2018-04-18 12:10:47 -04:00
Kay Kurokawa
2f7c03cbe8 added a sanity check for making sure updates extend the expiration in claimtriebranching_tests, fixed white space 2018-04-16 12:32:51 -04:00
Kay Kurokawa
172f6aca32 remove debugging variable bnOld in retarget algorithm, clean up white spaces 2018-04-02 16:26:04 -04:00
Kay Kurokawa
d26db867dd removed whitespaces at end of line in file rpcwallet.cpp 2018-03-12 09:35:08 -04:00
Kay Kurokawa
39580f1740 RPC commands updateclaim and nameclaim now takes argument "value" as hexadecimal encoded string 2018-03-12 09:35:08 -04:00
LBRY Docs
29bc408431 update LICENSE to 2018 2018-02-16 12:51:15 -05:00
Umpei Kay Kurokawa
dffd498152
Merge pull request #94 from lbryio/fix_memory_leak
Fix memory leak
2018-02-16 10:14:35 -05:00
Kay Kurokawa
a2fa2c0720 supportExpirationQueueCache was not cleared with the rest of the cache objects
Signed-off-by: Kay Kurokawa <kay@lbry.io>
2018-02-09 20:16:09 -05:00
Kay Kurokawa
b2ba3f5ea0 Fix memory leak where a new unaltered CClaimTrieNode would be created in addNodeToCache() for the convenient purpose of copying by value, but would never be freed
Signed-off-by: Kay Kurokawa <kay@lbry.io>
2018-02-09 20:15:33 -05:00
Alex Grintsvayg
52628772b3 spaces 2018-01-16 11:05:37 -05:00
Alex Grintsvayg
cc84e7fb91 move build docs into readme 2018-01-16 10:59:52 -05:00
Alex Grintsvayg
04b3983844 readme 2018-01-16 10:56:44 -05:00
Alex Grintsvayg
83e1df0403 install doc 2018-01-16 10:51:23 -05:00
Alex Grin
fbbf63fa54
Update README.md 2018-01-16 10:35:36 -05:00
Alex Grin
3238cd9735
Update build-osx.md 2018-01-08 10:31:15 -05:00
Alex Grin
047e41be82
Update build-osx.md 2018-01-08 10:30:52 -05:00