---
tags: Working session, land, garden
attendees:
- Jacque*
- Lluna
- Daniel
- Jon
---
# 31.01.2023
[TOC]
## Topics
### Proxy configuration
Links about `pathfinder-proxy`
- https://github.com/CirclesUBI/pathfinder-proxy upstream
- https://github.com/CirclesUBI/land-local/blob/main/docker-compose.yml manifest
- different from live bare metal manifest at https://github.com/CirclesUBI/circles-platform/blob/main/ansible/roles/apps/templates/docker-compose.yaml.j2
```yaml
PORT: '8080'
CORS_ORIGINS: 'https://circles.land' # ?
UPSTREAM_SERVICE_ENDPOINTS: 'http://pathfinder2:54389' # the rpc endoing
UPSTREAM_HEALTH_ENDPOINTS: 'http://pathfinder2-updater:8794' # the rpc health endpoint
```
### Questions
- auto scaling of the pathfinder component(s)
- requires bare metal nodes to join a K8s API Server (Control Plane) as Kubelets
- a bit spammy in the logs still
#### Pathfinder endpont
`PATHFINDER_URL: "https://rpc.circlesubi.id/pathfinder"`
#### RPC endpoint
`RPC_GATEWAY_URL: "https://rpc.circlesubi.id"`
#### Pathfinder Proxy + Updater + Pathfinder
The `pathfinder-proxy` and needs the `pathfinder2-updater` and needs events, so that's why for now in local development (for ganache) we need the `other_blockchain_user` (mock simulation) service.
Now, the pathfinder calculates the flowgraph by itself and that happens in every block.
Partial updates are not implemented in pathfinder server by chris yet.
#### Indexer initialisation container
We have a chance to replace
https://github.com/CirclesUBI/land-local/blob/df86bdd482ef40cf4a814be1b77ea8ec7bfc7416/modules/indexer-db-init/seed.sh#L2-L8
with something like
```dockerfile
FROM ubuntu:latest AS schemas
WORKDIR /opt
RUN git clone --depth=1 --branch=dev https://github.com/CirclesUBI/blockchain-indexer.git
...
FROM ubuntu:latest AS publish
...
COPY /opt/blockchain-indexer/CirclesLand.BlockchainIndexer/DbMigrations/*.sql /opt --from=schemas
...
```
## Otterscan
> Upstream https://github.com/wmitsuda/otterscan
Future:
- most reliable option
- fewer components
🔥🆕
A Plugin for Erigon (an RPC node)
RPC Node with Indexer in one node/service