WIP: Resolve json rpc #57

Merged
jeffreypicard merged 8 commits from resolve-json-rpc into master 2022-09-07 20:36:07 +02:00
jeffreypicard commented 2022-09-05 17:24:46 +02:00 (Migrated from github.com)
No description provided.
lyoshenka (Migrated from github.com) reviewed 2022-09-05 17:24:46 +02:00
moodyjon (Migrated from github.com) requested changes 2022-09-06 21:27:06 +02:00
@ -0,0 +13,4 @@
requests==2.28.1
six==1.16.0
uritemplate==4.1.1
urllib3==1.26.11
moodyjon (Migrated from github.com) commented 2022-09-06 21:24:23 +02:00

Is this needed by scripts/version.py? Did it get created inadvertently?

Is this needed by scripts/version.py? Did it get created inadvertently?
moodyjon (Migrated from github.com) commented 2022-09-06 21:12:56 +02:00

JSON port number should be a new thing in args.go, defaulting to 50001.

Then pass the args struct (or json parts of it) into StartJsonRPC111().

JSON port number should be a new thing in args.go, defaulting to 50001. Then pass the args struct (or json parts of it) into StartJsonRPC111().
moodyjon (Migrated from github.com) commented 2022-09-06 21:24:59 +02:00

Where does this port number come from? I would expect to see 8080 (or 50001)

Also does this need "/rpc" to match line 45 of jsonrpc_service.go?

I haven't been able to determine whether (Python) herald uses "/rpc" or any other path(s).

Where does this port number come from? I would expect to see 8080 (or 50001) Also does this need "/rpc" to match line 45 of jsonrpc_service.go? I haven't been able to determine whether (Python) herald uses "/rpc" or any other path(s).
jeffreypicard (Migrated from github.com) reviewed 2022-09-07 07:16:47 +02:00
@ -0,0 +13,4 @@
requests==2.28.1
six==1.16.0
uritemplate==4.1.1
urllib3==1.26.11
jeffreypicard (Migrated from github.com) commented 2022-09-07 07:16:46 +02:00

Yes, this is needed by the version.py, it was intentional.

Yes, this is needed by the version.py, it was intentional.
jeffreypicard (Migrated from github.com) reviewed 2022-09-07 07:17:25 +02:00
jeffreypicard (Migrated from github.com) commented 2022-09-07 07:17:25 +02:00

Yup, I just added that. It's already carried in through the Server struct.

Yup, I just added that. It's already carried in through the Server struct.
jeffreypicard (Migrated from github.com) reviewed 2022-09-07 07:18:11 +02:00
jeffreypicard (Migrated from github.com) commented 2022-09-07 07:18:11 +02:00

This is an old script added in by mistake, I'll move and change it.

This is an old script added in by mistake, I'll move and change it.
moodyjon (Migrated from github.com) approved these changes 2022-09-07 20:17:36 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/herald.go#57
No description provided.