Commit graph

10793 commits

Author SHA1 Message Date
kay kurokawa
d5db27b61a
Remove lines that are no longer used after removal of logging line in 7eca4f0 2018-10-15 13:29:45 -04:00
kay kurokawa
7eca4f00a7
Remove excessive logging when writing nodes on claimtrie to disk 2018-10-13 15:15:01 -04:00
Brannon King
bdfda3c267
Deployment: added S3, added SHA256, renewed GitHub credentials, brew upgrade 2018-10-01 11:32:53 -06:00
Brannon King
fa35ccbe78 bumped release version to 0.12.2.2 2018-09-26 13:14:20 -06:00
Anthony Fieroni
ebeb2bd092 Specify non-standard transaction error when it's dust
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2018-09-05 11:05:43 -04:00
lbrynaut
72cbc491be
Merge pull request #192 from lbryio/verify_claimid
Do not create transactions with incorrect claims
2018-09-04 08:17:47 -05:00
lbrynaut
0113a3ad70
Merge pull request #194 from shyba/claim_index_tests
add extra tests for the claim index
2018-09-04 07:55:02 -05:00
lbrynaut
9b7a70e8de
Merge pull request #197 from lbrynaut/claimindex-fix
Fix incorrect usage of the claim index
2018-09-03 11:25:16 -05:00
Anthony Fieroni
46381f603b Do not create transactions with incorrect claims
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2018-08-31 11:08:52 +03:00
Brannon King
69ee021469
added scripts to generate parsable API docs (#187)
also included the generated docs
also changed Travis build script to not run the formatting check on OSX
2018-08-30 14:18:48 -06:00
lbrynaut
e5d80b0f51 Fix incorrect usage of the claim index so that we can properly
maintain state through re-orgs and delayed activation states.

Includes get_claim_by_id_test_2 and get_claim_by_id_test_3 written by
Kay.
2018-08-28 09:25:30 -05:00
Victor Shyba
d93f4d8b09 add extra tests for the claim index 2018-08-20 23:59:41 -03:00
Victor Shyba
368a7389f4
refactor getValueForClaim, fix off by one error in the conditional statement that could cause segfault 2018-08-20 14:42:07 -04:00
Brannon King
7c3ef9b635 moved claimtrie_tests into claimtriebranching_tests
to take advantage of the test fixture there

added counts & hash checks to tests

also ran the code format tool

ran the formatting tool

cleaned up the earlier question on hashes, fixed crash bug

ran formatter
2018-08-07 16:03:53 -06:00
Brannon King
6fa9ee58e3 Added cmake support for CLion intellisense
(not to be used for a full compile of the project)
2018-08-03 14:35:37 -06:00
Thomas Zarebczan
b71107c2b3
Merge pull request #182 from ocornoc/master
Fixed spacing so OS paths show up on different lines
2018-07-30 13:22:19 -07:00
ocornoc
93daca0614 Fixed spacing so OS paths show up on different lines 2018-07-30 11:23:48 -07:00
winder
e381336281
Sanitize claimtrie RPC commands. 2018-07-19 15:03:05 -04:00
lbrynaut
30c65694b9 Ensure bool is allocated for later assignment(s) 2018-07-16 09:17:30 -04:00
lbrynaut
84542d98d1 Re-enable OS X tests to see what's going wrong 2018-07-16 09:17:30 -04:00
kay kurokawa
b9a1b60555 install clang-format for osx, do not add remote origin2 if it already exists for clang formatting check in reproducible_build.sh 2018-07-11 12:15:43 -04:00
kay kurokawa
aed3b9b148 add a comment about nProportionalDelayFactor for a test on claimtriebranching_tests.cpp
Signed-off-by: kay kurokawa <kay@lbry.io>
2018-07-08 15:05:26 -04:00
kaykurokawa
48d51418ef Add option to peform clang formatting check on reproducible_build.sh, run it in travis. Adjust README contributing guidelines. 2018-06-27 22:09:35 -04:00
kay kurokawa
50facca935 NOT FOR UPSTREAM MERGE Update .clang-format to latest in Bitcoin Core. Update doc/developer-notes to latest in Bitcoin Core, but use C++03 2018-06-27 22:09:35 -04:00
lbrynaut
e90d7f54ce
Merge pull request #165 from lbrynaut/osx-travis
Resolves OS X Travis build issue
2018-06-26 14:37:47 -05:00
lbrynaut
2587130e45 OSX Travis fix 2018-06-26 13:57:58 -05:00
kaykurokawa
f4be61d90a normalize difficulty so that 1 == minmum difficulty 2018-06-19 11:48:40 -04:00
Alex Grin
047abede75
Merge pull request #161 from PenTesting/patch-1
Regex hardening to fix CVE-2018-12356.
2018-06-18 12:31:03 -04:00
PenTesting
4a1bf7bb51
Regex hardening to fix CVE-2018-12356. 2018-06-18 08:07:41 +03:00
kay kurokawa
a407c10b02 add note about c++ version, adjust formatting in README 2018-06-04 13:31:18 -07: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
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