multi: 64bit aligment of atomic vars on arm/x86-32
This commit is contained in:
1 parent
d2bcb708f3
commit
3be08e69cf
21 files changed
+67
-60
No files matched your search
@@ -21,8 +21,8 @@ import (
|
||||
// BitcoindFilteredChainView is an implementation of the FilteredChainView
|
||||
// interface which is backed by bitcoind.
|
||||
type BitcoindFilteredChainView struct {
|
||||
started int32
|
||||
stopped int32
|
||||
started int32 // To be used atomically.
|
||||
stopped int32 // To be used atomically.
|
||||
|
||||
// bestHeight is the height of the latest block added to the
|
||||
// blockQueue from the onFilteredConnectedMethod. It is used to
|
||||
|
||||
@@ -17,8 +17,8 @@ import (
|
||||
// BtcdFilteredChainView is an implementation of the FilteredChainView
|
||||
// interface which is backed by an active websockets connection to btcd.
|
||||
type BtcdFilteredChainView struct {
|
||||
started int32
|
||||
stopped int32
|
||||
started int32 // To be used atomically.
|
||||
stopped int32 // To be used atomically.
|
||||
|
||||
// bestHeight is the height of the latest block added to the
|
||||
// blockQueue from the onFilteredConnectedMethod. It is used to
|
||||
|
||||
@@ -20,8 +20,8 @@ import (
|
||||
// blocks, the light client is able to query filters locally, to test if an
|
||||
// item in a block modifies any of our watched set of UTXOs.
|
||||
type CfFilteredChainView struct {
|
||||
started int32
|
||||
stopped int32
|
||||
started int32 // To be used atomically.
|
||||
stopped int32 // To be used atomically.
|
||||
|
||||
// p2pNode is a pointer to the running GCS-filter supported Bitcoin
|
||||
// light clientl
|
||||
|
||||
Reference in new issue
Block a user