you have this two only used by local stats
```
UPDATE_TX_LOCAL_PREPARE_S(true, false)
UPDATE_TX_LOCAL_PREPARE_R(true, false),
```
and this other two used only by remote stats
```
UPDATE_TX_REMOTE_PREPARE_S(false, true),
UPDATE_TX_REMOTE_PREPARE_R(false, true),
```

can't be replaced only by this? 
```
UPDATE_TX_PREPARE_S(true, true)
UPDATE_TX_PREPARE_R(true, true)
```