wormhole/node
Chirantan Ekbote 4712a6f774 node/pkg/common: Fix race condition in PostObservationRequest
Any goroutine can push into a channel so the current implementation has
a race condition where the channel can become full immediately after the
length check, causing the subsequent send on the channel to block.

Fix this by wrapping the send on the channel with a select block.
Control will fall through to the default case only if the actual send
operation blocks, avoiding the potential race with other goroutines.
2022-08-24 17:59:42 +09:00
..
cmd Algorand mainnet deploy (#1434) 2022-08-16 10:14:48 -05:00
hack node: governor tweaks (#1422) 2022-08-16 15:22:24 -05:00
pkg node/pkg/common: Fix race condition in PostObservationRequest 2022-08-24 17:59:42 +09:00
tools node: bump dlv for Go 1.17 compat and expose it via Tilt 2021-10-06 12:41:58 +02:00
.golangci.yml enable additional linters, including gosec (#1215) 2022-05-23 16:21:10 +02:00
Dockerfile Move from ADD to COPY on Dockerfiles 2022-07-13 09:27:15 -04:00
Makefile Add new sections to SECURITY.md and CONTRIBUTING.md (#1408) 2022-08-11 15:33:24 -04:00
go.mod node: Update terra.go to latest version 2022-06-09 12:40:27 +09:00
go.sum node: Update terra.go to latest version 2022-06-09 12:40:27 +09:00
main.go node: rename bridge/ to node/ 2021-08-26 11:36:36 +02:00