Commit graph

  • f5b8f2ce0d Add --chain=X argument, and use it to determine chain when DB is empty. Jonathan Moody 2022-09-02 13:45:49 -0500
  • 321bcf6420 Fix encoding of TX and Block hashes in response. Jonathan Moody 2022-09-01 15:26:37 -0500
  • 293a3f685e Fix some DB logic and add tests (blockchain_test.go). Jonathan Moody 2022-09-01 14:21:53 -0500
  • f55a5ed777 Continuing blockchain RPC handler work. Add JSON tags. Fetch Height using TxCounts. Jonathan Moody 2022-08-31 17:23:47 -0500
  • 50f7e91ead Infer chain (mainnet, testnet3, regtest) based on DBStateValue. Correct typo DDVersion -> DBVersion. Misc logging improvements. Jonathan Moody 2022-09-07 14:16:27 -0500
  • fe18c70bf7 Add some blockchain RPC handlers and database fetching routines. Jonathan Moody 2022-08-29 14:51:00 -0500
  • 9403d84a83
    WIP: Resolve json rpc (#57) Jeffrey Picard 2022-09-07 21:36:07 +0300
  • 040bb78f06 remove unused test_rpc.sh script Jeffrey Picard 2022-09-07 18:15:22 +0000
  • e97469f589 correct rpc default port Jeffrey Picard 2022-09-07 05:18:29 +0000
  • 0e5ab2711f cleanup and add args for json rpc Jeffrey Picard 2022-09-07 05:15:16 +0000
  • 41d6f5ee38 don't start jsonrpc server in unit tests Jeffrey Picard 2022-09-06 13:00:48 +0000
  • 9ed98de40c remove uneeded logging Jeffrey Picard 2022-09-05 15:21:19 +0000
  • 36aa8503fa add CGO flags to readme Jeffrey Picard 2022-09-01 09:30:06 +0000
  • ffe15f060a update readme for open file limits Ubuntu 2022-08-31 12:33:28 +0000
  • 49057e0f95 jsonrpc Jeffrey Picard 2022-08-28 16:42:43 +0300
  • 09fd939b60
    Merge pull request #60 from moodyjon/slicebacked_type_param Jonathan Moody 2022-09-07 07:22:01 -0500
  • dc9b4ada2a Update go.mod, go.sum for use of constraints (x/exp). Jonathan Moody 2022-09-07 07:13:51 -0500
  • c38134b645
    Merge pull request #56 from moodyjon/slicebacked_type_param Jonathan Moody 2022-09-07 05:39:34 -0500
  • d025ea1616
    Add "on: pull_request" to worflow. (#59) Jonathan Moody 2022-09-06 14:13:13 -0500
  • 04eed39ed5 Add "on: pull_request" to worflow. Jonathan Moody 2022-09-06 13:25:50 -0500
  • 5b690ff2ff
    Merge pull request #58 from moodyjon/hashx_history_fix Jonathan Moody 2022-09-06 13:03:07 -0500
  • aa16207aa5 Fix struct annotation for HashXHistoryValue. TxNums now little-endian. Jonathan Moody 2022-09-06 12:57:45 -0500
  • 78b9a625eb
    Merge pull request #54 from moodyjon/hashx_history_fix Jonathan Moody 2022-09-06 12:40:06 -0500
  • e46ac7c913 HashXHistoryValue TxNums are unique in that they are little-endian (at least when written by Python scribe on ARM64 Mac or x86). Jonathan Moody 2022-09-01 12:58:41 -0500
  • 8ac89195db Add element type param T to SlicedBacked[T]. Require T satisfy constraints.Ordered to make BisectRight() statically type-safe. Jonathan Moody 2022-08-30 14:16:35 -0500
  • 4e11433325 Payload of HashXHistoryValue should be an array of uint32 representing "txnums". Jonathan Moody 2022-08-26 10:18:01 -0400
  • 9d9c73f97f
    Add RepostedCount, EffectiveAmount prefix rows (#51) Jonathan Moody 2022-08-26 09:24:39 -0400
  • 6075f7207c Update db_get.go helpers to use EffectiveAmount, RepostedCount tables. Update tests. Jonathan Moody 2022-08-23 12:29:45 -0400
  • 5fb3b4388a Add RepostedCount, EffectiveAmount prefix rows. Add testdata. Jonathan Moody 2022-08-18 15:29:29 -0400
  • 2c9be1d8a8 Rename prefix EffectiveAmount -> BidOrder. Jonathan Moody 2022-08-18 12:02:19 -0400
  • cbdcc5faeb v0.2022.08.16.1 v0.2022.08.16.1 Jeffrey Picard 2022-08-16 14:56:19 +0300
  • 3a53f46114
    Updates for build (#50) Jeffrey Picard 2022-08-16 14:52:26 +0300
  • fe9e6cd94a asdf Jeffrey Picard 2022-08-16 14:45:35 +0300
  • 6ff915a1c8 trying this ... Jeffrey Picard 2022-08-16 14:41:03 +0300
  • 9e1b2b9a03 use go 1.18.5 Jeffrey Picard 2022-08-16 14:31:49 +0300
  • 59d637c8bc go 1.18.1 in dockerfile Jeffrey Picard 2022-08-16 11:54:05 +0300
  • 5cbd3b6b99 Updates for build Jeffrey Picard 2022-08-16 10:20:53 +0300
  • 071aa2a7ad
    Catchup to python-herald schema. Plus lots of refactoring. (#49) Jonathan Moody 2022-08-16 01:45:41 -0400
  • 84caed6b17 Add test that runs through GetPrefixes() contents, and verifies they are registered in prefixRegistry. Jonathan Moody 2022-08-12 14:18:41 -0400
  • 9e72f9c4bc Move tableRegistry to prefixes.go and rename it prefixRegistry. Other minor fixes, comments. Jonathan Moody 2022-08-12 14:11:29 -0400
  • 972bc00ff3 Generate test data and complete the tests for the new tables. Add Fuzz tests for TouchedHashXKey, TouchedHashXValue with happy path test data (only). Jonathan Moody 2022-08-11 13:58:24 -0400
  • d42ac9feab Fix MempoolTxKey, TouchedHashXValue. Remove some unneeded struct tags. Jonathan Moody 2022-08-11 13:49:59 -0400
  • 99a93e5230 Remove .DS_Store, and ignore in future. Jonathan Moody 2022-08-10 22:26:39 -0400
  • 8a5b6ca142 Strengthen partial packing verification. Fix bugs in UnpackKey/UnpackValue for new types. Jonathan Moody 2022-08-10 14:22:24 -0400
  • 3f2af415d1 Fix ClaimToChannelValue annotation. Implement BlockTxsValue workaround as I can't find the right annotation to get it marshalled/unmarshalled. Jonathan Moody 2022-08-10 13:17:42 -0400
  • b7c109a4fa Add .vscode dir to gitignore. Jonathan Moody 2022-08-10 10:56:41 -0400
  • 9b6bbe9806 Undo accidental bump of rocksdb version. Jonathan Moody 2022-08-10 10:55:27 -0400
  • 02f7a41d49 Add pluggable SerializationAPI. Use it in prefixes_test. Populate PrefixRowKV.RawKey,RawValue when appropriate. Jonathan Moody 2022-08-10 10:52:05 -0400
  • 441da6b2b3 Fixup callers of eliminated partial pack functions. Have them use key.PartialPack(n). Jonathan Moody 2022-08-10 10:35:35 -0400
  • 250158480c Undo rename. TouchedOrDeleted -> ClaimDiff. Jonathan Moody 2022-08-10 10:08:12 -0400
  • d7f52bd51e Add 5 new prefixes/tables (TrendingNotifications..HashXMempoolStatus). Jonathan Moody 2022-08-09 23:13:38 -0400
  • 9d1992e95f Add dynamic pack/unpack based on "restruct" module. Dispatch normal pack/unpack through tableRegistry[] map instead of switch. Jonathan Moody 2022-08-09 22:57:13 -0400
  • 1e467a715f Add struct field annotations and refactor to prepare for use of "restruct" generic packing/unpacking. Jonathan Moody 2022-08-09 22:42:13 -0400
  • 0c1840c09c Simplify type-specific partial packing, and simplify dispatch for pack key/value. Jonathan Moody 2022-08-09 22:28:26 -0400
  • 36d8d97333 Don't do the ones' complement thing with DBStateValue fields HistFlushCount, CompFlushCount, CompCursor. Python-herald doesn't do it, and it presents one more irregular case for (un)marshalling fields. Jonathan Moody 2022-08-09 17:30:25 -0400
  • 2569a55f63 Make prefixes_test.go more resilient against garbage left by a prior crash. Also correct error logging. Jonathan Moody 2022-08-09 16:54:55 -0400
  • b018217899
    fix release script (#48) Jeffrey Picard 2022-08-10 21:06:56 +0300
  • 13479794ed
    Update readme.md Jack Robison 2022-08-10 11:05:39 -0400
  • 721bceb677 fix release script Jeffrey Picard 2022-08-09 17:45:33 +0300
  • ab2a39ac6c v0.2022.08.09.1 v0.2022.08.09.1 Jeffrey Picard 2022-08-09 17:19:53 +0300
  • ffa426b899
    Bump to grpc v1.46.0. (#45) Jonathan Moody 2022-08-09 07:44:00 -0400
  • b9f7d595bd
    Herald.go (#47) Jeffrey Picard 2022-08-09 14:43:01 +0300
  • 723b561a39 update package names in proto files Jeffrey Picard 2022-08-09 14:34:26 +0300
  • f118a1d7a5 we're no longer building dynamically, so turn CGO back on, and fix names Jeffrey Picard 2022-08-06 11:56:00 +0300
  • a5f300d9f7 fix issues with binary name Jeffrey Picard 2022-08-06 08:43:19 +0300
  • 1cdd320255 update ci/cd stuff Jeffrey Picard 2022-08-04 09:05:41 +0300
  • b301fb953e switch herald to herald.go Jeffrey Picard 2022-08-03 22:37:07 +0300
  • 49e5d7b8c1
    Fix release_time query to match python hub. (#41) Jonathan Moody 2022-08-03 12:19:25 -0400
  • 3dd2a0214d Bump to grpc v1.46.0. Jonathan Moody 2022-08-02 18:13:49 -0400
  • 8b4b27bdb9
    Update readme.md Jack Robison 2022-08-02 11:53:23 -0400
  • 3f5fe3048f Fix release_time query to match python hub. Claims with unset release_time match the query. Jonathan Moody 2022-07-29 10:14:01 -0400
  • ed9c2cb14f Revise error handling and cleanup in GetProdDB(). Avoids panic when DB not found. Jonathan Moody 2022-07-29 10:12:28 -0400
  • b2dd70bc7c
    Jeffreypicard/feature/move to herald (#37) Jeffrey Picard 2022-07-11 20:31:27 +0300
  • d6deb5f91f update readme for new rocksdb version Jeffrey Picard 2022-07-08 18:20:42 +0300
  • f780b1bba1 Go back to protobuf 1.27.1, update go to 1.18 Jeffrey Picard 2022-07-07 14:44:34 +0300
  • 22379dd826 changes for repo move Jeffrey Picard 2022-06-02 21:50:28 -0400
  • 7fcb4a750d remove old workflow Jeffrey Picard 2022-04-29 22:30:11 +0000
  • 3dfe5a5bc3 fix workflows Jeffrey Picard 2022-04-29 17:05:15 +0000
  • 28a299efa8
    rocksdb (#29) Jeffrey Picard 2022-04-29 11:04:01 -0400
  • 0dd3c2483e fix test Jeffrey Picard 2022-04-29 15:00:48 +0000
  • 312582a3dc rename sort.go search.go Jeffrey Picard 2022-04-29 14:51:03 +0000
  • 820182b4a3 remove lbry.go v2 Jeffrey Picard 2022-04-29 14:46:33 +0000
  • ef5f42b199 changes per code review Jeffrey Picard 2022-04-20 18:29:37 +0000
  • ca840aea7f fix memory leak (iterator never finished so cleanup didn't run) Jeffrey Picard 2022-04-14 02:18:08 +0000
  • f9011c7d52 trying to fix memory leak Jeffrey Picard 2022-04-14 00:25:37 +0000
  • 8cb0d1fdb8
    Merge branch 'master' into feature/27/jeffreypicard/rocksdb Jeffrey Picard 2022-04-11 13:10:06 -0400
  • 8be516402b cleanup Jeffrey Picard 2022-04-11 16:53:35 +0000
  • d1328fd19a trying to fix these builds Jeffrey Picard 2022-04-11 15:09:08 +0000
  • 1e71100c70 update go version needed Jeffrey Picard 2022-04-11 14:50:32 +0000
  • 211b8349b2 update github action to go-1.17.8 Jeffrey Picard 2022-04-11 14:41:35 +0000
  • e2f869f51f use chainhash.Hash types from lbcd where appropriate Jeffrey Picard 2022-04-11 03:19:59 +0000
  • 167f62c845 More cleanup Jeffrey Picard 2022-04-11 01:40:29 +0000
  • e2d1fa8558 more cleanup / refactor. almost ready for another review Jeffrey Picard 2022-04-06 19:53:43 +0000
  • 65d98dfaa4 some cleanup Jeffrey Picard 2022-03-24 18:47:58 -0400
  • 7410f6a714 remove gitattributes, unused Jeffrey Picard 2022-03-23 16:02:00 -0400
  • 080f00399a Add height endpoint and move string functions internal Jeffrey Picard 2022-03-23 15:46:22 -0400
  • 39bc858e65 use newer version of lbry.go when possible Jeffrey Picard 2022-03-22 11:50:01 -0400
  • 05d7c5656c updates and fixes for integration tests Jeffrey Picard 2022-03-17 10:48:11 -0400
  • d68a67133b add params for blocking and filtering channels and streams Jeffrey Picard 2022-03-10 13:49:01 -0500
  • 2234921d1e blocking and filtering implemented Jeffrey Picard 2022-03-10 13:31:54 -0500