Install traefik to the cluster using helm.
helm install stable/traefik --set dashboard.enabled=true,imageTag=v1.6,serviceType=NodePortNow edit the traefik dashboard service manually, since the traefik chart wants us to access the traefik dashboard via a custom domain. Since we run it locally in a VM, we will just expose the dashboard on the minikube IP on a custom port.
Webpack: Should work now™
Parcel: Still not implemented - parcel-bundler/parcel#392
Webpack: EnvironmentPlugin / DefinePlugin
| import State from 'new-state-component' | |
| const setName = name => prevState => ({ ...prevState, name }) | |
| const RenameDialog = ({ prevName, onRename }) => { | |
| return ( | |
| <State initial={{ name: prevName }}> | |
| {(state, setState, memoize) => ( | |
| <RenameDialogUI | |
| name={state.name} |
kubectl config get-contextscd charts/satoshipay
helm dep upThe PostgreSQL container stopped unexpectedly, was automatically restarted, but suddenly didn't accept any connections anymore. Neither from the API service containers nor from the Macbook over the internet.
Error in logs:
FATAL: pg_hba.conf rejects connection for host "10.0.1.2", user "postgres", database "******", SSL off
SEP-0007 introduced a standard for payment requests (basically templated transactions) on Stellar. In order to provide a smooth user experience when working with multi-signature accounts, wallets need to be able to send each other realtime payment requests.
That requires a new kind of service in the Stellar eco system: A multi-signature coordination service.
- Each node has a key pair to authenticate itself to its peers
- Key pair might or might not relate to a Stellar account
- Each node provides a SSE co-signature request streaming endpoint other peers or wallets may subscribe to
- When connecting to another peer
- Subscribe to that peer's stream
- Post a message to invite the peer to subscribe to the node's stream
- Each node exposes a list of the peers that it is connected to
- Each node has a configurable set of trusted peers, will always connect to them and accept them subscribing
| type Arguments<T> = [T] extends [(...args: infer U) => any] | |
| ? U | |
| : [T] extends [void] ? [] : [T] | |
| /** | |
| * Type-safe event emitter. | |
| * | |
| * Use it as: | |
| * | |
| * interface MyEvents { |
| let lastLoggingTime = Date.now(); | |
| function logUpdate (componentName, update, stateBefore, stateAfter, stack) { | |
| const msSinceLastPrint = Date.now() - lastLoggingTime; | |
| console.groupCollapsed( | |
| `%c<${componentName}> setState: %o %c%s`, | |
| "color: #5080ff", | |
| update, | |
| "color: #808080", |