Commit graph

10824 commits

Author SHA1 Message Date
Brannon King
be6e272717 set go-live normalization fork numbers 2019-02-09 12:02:59 -07:00
Brannon King
7237708a1f tweak windows build just a bit 2019-02-09 12:02:59 -07:00
lbrynaut
1b5d21056d Fix Windows ICU build by making sure the cross compiled ICU exists before building boost.
Add some additional logging during ICU configuration and build process.

Resolve ICU on windows link issues.

Add /tmp/icu_install (cross-compile staging build) to the travis
directory cache for future windows builds.
2019-02-09 12:02:59 -07:00
Brannon King
0c908ca127 repaired ICU link order 2019-02-09 12:02:59 -07:00
lbrynaut
c2f184fa2a Modify ICU discovery and add ICU linkage for tests
Rename claimtrieForks to claimtrieforks for consistency
Update a typo in rpcwallet
2019-02-09 12:02:59 -07:00
Brannon King
d740e3761c reverted accidental use of c++11 const
don't skip build by dir alone
2019-02-09 12:02:59 -07:00
Brannon King
1bf736a13e bumping version for release 2019-02-09 12:02:59 -07:00
Brannon King
fd6e26608d removed duplicate trie in RAM, other norm fixes
also includes code to validate incoming utf8
moved normalization from claimTrie; all in cache now

also fixed a few post-merge issues
added handling for support normalization

fixed failure to handle unnormalized items reinserted on rollback

fixing ICU deps for Travis build

get more info on Travis build failure

Travis experiment 2: ICU fPIC

add independent tests to check string normalization only

move comment to proper location, and note what excpetion is thrown

add RPC call checknormalization so user can see what normalization does

made expiration at norm time smarter

also rearranged unit test code to avoid some spurious errors
made ICU compile statically

also fixed early exit in reproducible_build script
changed to keep original name

removed ability to return just-added supports

it was impossible to get the normalized names correct there
apparently the -s is no longer appreciated

moved normalization code to separate file

also fixed bug on effective amount
fixed performance problem on trie upgrade

fixed issue with valid height on rollback

fixed issue with post-normalization name q data

fixed failure to remove normalized claims on rollback

post-merge fixes

post-merge fixes
2019-02-09 12:02:59 -07:00
lbrynaut
223b6047cd No longer abort on removal from claimtrie in the case of expiration
where normalization is enabled and the claim no longer exists (due to
normalization related narrowing)
2019-02-09 12:02:59 -07:00
lbrynaut
3edbb2627e Implement a hard fork to normalize claim names
Apply (self) review feedback
Clean deps required for boost to rebuild with icu support (for now)
Normalization bug fixes and improvements
Clang-formatting
2019-02-09 12:02:59 -07:00
Mark Beamer Jr
11542b8bf0 removed kay from contact request for testnet credits. 2019-02-05 20:02:47 -07:00
Julie Sigwart
bbe9086242 Update contact to Brannon 2019-01-29 15:23:40 -05:00
Brannon King
a25334c150 repair failed format, bump travis images
build experiment 2


build experiment 3


build experiment 4


Replace flattenTrie by callback

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Use interruption point instead of boolean condition

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Add ability to earlier exit in rpc methods getclaimtrie and getclaimsintrie

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

simplified early exit handling


ran formatter


check out the whole repo on Travis (for formatter)


origin should be there
2018-12-14 11:06:10 +01:00
Brannon King
02986f766c Replace flattenTrie by callback
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Use interruption point instead of boolean condition

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

Add ability to earlier exit in rpc methods getclaimtrie and getclaimsintrie

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

simplified early exit handling


ran formatter
2018-12-14 08:27:35 +01:00
Brannon King
b5a0c962d0 bumped version number for pending release 2018-12-13 13:29:22 +01:00
Anthony Fieroni
a54f2f4d48 Return correct field "supports without claims"
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2018-12-13 12:52:17 +01:00
kay kurokawa
3ca72b18cc Adjust each unit test to use its own reinitialized unique_block_counter, move CreateCoinbase and CreateBlock functions inside of ClaimTrieChainFixture 2018-12-06 22:41:40 -05:00
kay kurokawa
9fbed57043 bumped release version to 0.12.3.0 2018-12-06 17:03:31 -05:00
kay kurokawa
30a517dcf8 Fix for https://github.com/lbryio/lbrycrd/issues/243 2018-12-06 17:03:31 -05:00
kay kurokawa
8b3f2e8b03 Add tests to trigger https://github.com/lbryio/lbrycrd/issues/243 2018-12-06 17:03:31 -05:00
kay kurokawa
9f80a4ed34
mark getclaimtrie as deprecated, will be removed in next release 2018-12-05 16:47:27 -05:00
Anthony Fieroni
e89d748b2f Increase default dbcache size
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2018-11-29 10:27:32 +01:00
Anthony Fieroni
10c4254c64 Return the value field to getclaimsforname rpc method
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2018-11-28 09:20:33 +01:00
Ariel Rodriguez
15be5dacce Remove unnecessary height field in removeClaim method 2018-11-08 15:29:28 -07:00
Kent
cccdce02df Update README.md 2018-10-31 13:45:28 -06:00
Brannon King
0830074e15 fixed issue with invalid usage of trie's root node in cache 2018-10-31 13:44:14 -06:00
kay kurokawa
bed577d9cf add some tests for new CClaimTrieCache functions in claimtriecache_tests.cpp 2018-10-31 13:44:14 -06:00
Anthony Fieroni
f86eb54077 Add block hash parameter to claimtrie rpc methods
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2018-10-31 13:44:14 -06:00
Brannon King
24da3ac57a fixed incompatibility with newer lbssl 2018-10-19 11:30:48 -06:00
Anthony Fieroni
1578807503 Remove unnecessary copies
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2018-10-19 11:20:27 -06:00
kay kurokawa
451f4b4aca
bumped release version to 0.12.2.3 2018-10-15 13:42:36 -04:00
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