command getsubsidy is thread-safe
add new command getstakesubsidy