Implement scheduleBlock function
Pass peer address in metadata scheduler implicitly
Handle metadata completion