dcs on Nostr: #[0] Thanks! My first sats, ever! I'll be sure not to spend them all in one place. ...
mikedilger (npub1acg…p35c) Thanks! My first sats, ever! I'll be sure not to spend them all in one place.
Hey, I saw on NIP-56 that you were wanting an inbox/outbox style of relay. I wondered how that would look for the python relay, so I whipped up this example code and configuration: https://gist.github.com/davestgermain/0c54e6f2056a8646c2eaf66358fbadbe
Since validators are just configurable functions, it's very easy for relay operators to customize.
The output_validator code is not released yet, as I'm not sure if it's a worthwhile feature. What do you think?
Hey, I saw on NIP-56 that you were wanting an inbox/outbox style of relay. I wondered how that would look for the python relay, so I whipped up this example code and configuration: https://gist.github.com/davestgermain/0c54e6f2056a8646c2eaf66358fbadbe
Since validators are just configurable functions, it's very easy for relay operators to customize.
The output_validator code is not released yet, as I'm not sure if it's a worthwhile feature. What do you think?